c# - No data collected when profiling .NET class library with Visual Studio 2012 -


i'm trying performance profile c5 generic collection library c# , cli visual studio 2012 ultimate. since project has no executable i've made new console application project in solution. project contains simple class main method creating 1 of data structures large collection of elements. problem cpu sampling returns following output:

profiling started. profiling process id 2684 (c5.performance). process id 2684 has exited. data written c:\<some path>\c5\c5.performance130904.vsp. profiling finished. prf0025: no data collected. profiling complete. 

and confirm box says prf0025: no data collected. i've tried changed collection size cpu have more do, without luck. have no problem doing .net memory allocation profiling.

i run windows 7 on virtualbox on osx host.

i coming across same issue. common factor virtualbox.

cpu sampling not work in virtualbox. bug in virtualbox not implement hardware clock. suspect problem hardware specific, may work under machines not others. know doesn't work under hardware configuration.

see links below more details:

a virtualbox bug ticket detailing problem

a serverfault question detailed answers on problem

i not have solution problem problem exists in virtualbox.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -