Profiling

Brad Roberts braddr at puremagic.com
Fri Jan 24 11:35:14 PST 2014


Please file a bug on this.  The docs should be on dlang.org.

On 1/24/14 11:15 AM, Dmitry Olshansky wrote:
> 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
>>
>>
>
>



More information about the Digitalmars-d-learn mailing list