Profiling
Dmitry Olshansky
dmitry.olsh at gmail.com
Fri Jan 24 11:15:24 PST 2014
24-Jan-2014 20:31, Philippe Sigaud пишет:
> I'm trying to use the `-profile` flag for DMD and, without any
> documentation, I can't really understand the resulting log files:
>
> * They contain only mangled names. Is there a way to get demangled,
> human-readable symbols?
>
pipe it though ddemangle tool. I though it was shipped with compiler.
> * Can someone tell me what the numbers means?
Ticks spent in this function. One column specifies inclusive time (the
whole call-tree of that function) another one exclusive - time spent
exactly in this function not its children.
>
> Is there a page somewhere on dlang.org that explains how to use the
> profiler?
http://digitalmars.com/ctg/trace.html
see Dynamic Profiling With DMD
>
> Thanks,
>
>
> Philippe
>
>
--
Dmitry Olshansky
More information about the Digitalmars-d-learn
mailing list