Tracing allocations with "new" in dmd
Guillaume Piolat
first.name at gmail.com
Fri Jun 19 14:34:40 UTC 2020
On Friday, 19 June 2020 at 14:19:36 UTC, Andrei Alexandrescu
wrote:
>>
>> -profile=gc ?
>
> Thanks, I'll look into it. Does it provide type information or
> only low-level allocated size information?
Here is an example of a profilegc.log file:
--------------- profilegc.log -----------
bytes allocated, allocations, type, function, file:line
4096 1 char[] D main source\main.d:36
240 10 main.main.D D main
source\main.d:44
64 1 int[] D main source\main.d:37
56 1 double[] D main source\main.d:55
-----------------------------------------
More information about the Digitalmars-d
mailing list