More granular performance profiling?

Jarrett Billingsley kb3ctd2 at yahoo.com
Fri Mar 30 05:58:41 PDT 2007


"Jarrett Billingsley" <kb3ctd2 at yahoo.com> wrote in message 
news:euhvka$104t$1 at digitalmars.com...
> I'd like to profile some code (the MiniD interpreter to be exact), but 
> the -profile flag for DMD only profiles down to the function level.  This 
> obviously doesn't help much when considering that the interpreter is 
> basically one big function with a while loop in it.
>
> Short of splitting the interpreter function into several smaller functions 
> to profile it, is there any way to get more granular performance 
> profiling? A library or such?
>

Thanks for the suggestions.  I think I'll derive HighPerformanceCounter and 
add some goodies to it :) 




More information about the Digitalmars-d-learn mailing list