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.
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.