Performance Profiling

I've been testing various parts of Beta 2 and decided to give the performance explorer and profiling a go. It doesn't work because I am running my Beta 2 on a virtual machine (I get a dialog that says it can't start vsperfmon and then a second dialog that says can't run sampling on a virtual machine).

Why doesn't performance profiling work on a virtual machine?

Thanks.
Bob.

[390 byte] By [rrkessler] at [2008-2-17]
# 1
Instrumented profiling does work on a VPC, but sampling profiling does not work. Sampling relies on having a real hardware timer to generate periodic interrupts to sample the current instruction pointer. The VPC doesn't supply anything like that.

Instrumented profiling relies on adding code to the code under test, so it will work on the VPC. Be warned though - the results are likely to be skewed unpredictably and likely inconsistenly when running under a VPC.

CarlDaniel at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Performance Tools (Profiler)...
# 2
Short answer is that the VPC doesn't emulate all the parts of a PC that we need.
See this blog post.
AngryRichardMSFT at 2007-9-9 > top of Msdn Tech,Visual Studio Team System,Visual Studio Performance Tools (Profiler)...

Visual Studio Team System

Site Classified