I'm supposing you're compiling with MSVC 2008 for Windows. If you're compiling with MSVC 2010, you need to open and convert the 2008's solution file instead of the 2010's. The 2008's solution file has all the details configured.
First you need to install MS Standalone Profiler, the tool that does the actual profiling and provides the libraries needed.
http://www.microsoft.com/en-us/download/...x?id=18277
Then in the MSVC IDE, go to Build (Alt+B) -> Configuration manager (O) and select "Release profiled" as the active solution configuration in the top left combobox. Close the dialog, compile.
Now you want to delete your $/world/region contents so that running the server will generate the spawn area. But do not run the server directly nor from within MSVC IDE.
Finally in the $/VC2008 folder there is a script file, profile_run.cmd. You need to run this script instead. It prepares the profiler, then runs the server, waits for it to finish and finally generates the reports. You may need to edit this script before running so that it contains proper path to the standalone profiler (pt variable). Also in the last line of the script you may want to change the path "c:\programovani\symbols" to an existing path where the profiler will download symbols for MS DLLs used.
This will give you a MCServer_profiledata.vsp file and lots of MCServer_profiledata_*.csv files in the svn root folder. I'm interested in the MCServer_profiledata_CallerCalleeSummary.csv file. If you want, you can also view its contents with the tool written on CodeProject:
http://www.codeproject.com/Articles/1446...udio-for-F
I guess I'll write up a wiki page for this