how to profile a CLR profiler


  • I have a CLR profiler written in C++, that is used to profile C# programs.  I want to profile the profiler itself, and for the profiler code get a statement count for each line of C++ code; I'll settle for boolean ("I've been executed.") if that's all I can get.

    How do I go about doing this?  I want to run the C# program, and as a side effect get the profile data for the C++ profiler loaded by the CLR.

    My experiments with VisualStudio 2010 "Analyze>" hasn't turned up anything that seems to work, but maybe I haven't dug deep enough.

    Thanks for any help!

    • ย้ายโดย spacewrangler 4 มีนาคม 2555 15:38 (From:Building Development and Diagnostic Tools for .Net)
    2 มีนาคม 2555 0:16