[Mono-dev] Documentation or pointers for profiling mono/mini?
Paolo Molaro
lupus at ximian.com
Thu Mar 2 09:44:13 EST 2006
On 03/01/06 Vikram wrote:
> I'm working on a project which involves profiling mono and generating
> information
> about the code being run. For example, I'm trying to see how deep the call
> stack is, or inserting code to the method bodies, to generate stats
> about the code runs. This is to be done for the jit alone.
You can't currently inject your own code during jit time.
The profiler interface is described in the header file
mono/metadata/profiler.h.
For examples of uses check the built-in profiler in metadata/profiler.c
or the ones in mono/profilers or the svn modules monocov and heap-prof.
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
More information about the Mono-devel-list
mailing list