Allocation trace

sarn via Digitalmars-d digitalmars-d at puremagic.com
Mon Jun 26 17:43:55 PDT 2017


On Saturday, 24 June 2017 at 22:15:47 UTC, Andrei Alexandrescu 
wrote:
> Hello, does anyone have traces of allocations from real 
> applications? Looking for the sequence of calls to malloc, 
> realloc, and free, e.g.:
>
> 0 malloc 128
> 1 malloc 8192
> 2 malloc 32
> 3 free 1
> ...
>
>
> Thanks,
>
> Andrei

On *nix systems, you can use ltrace to generate this pretty 
easily.


More information about the Digitalmars-d mailing list