Re: Allocation trace

2017-06-26 Thread sarn via Digitalmars-d
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.


Re: Allocation trace

2017-06-26 Thread Andrei Alexandrescu via Digitalmars-d

On 6/26/17 3:20 PM, Shachar Shemesh wrote:
I'm assuming you're looking for mallocs by applications that actually 
use the GC, right? :-)


Looking for more traditional C/C++ applications that free memory 
explicitly. -- Andrei




Re: Allocation trace

2017-06-26 Thread Shachar Shemesh via Digitalmars-d
I'm assuming you're looking for mallocs by applications that actually 
use the GC, right? :-)


Shachar

On 25/06/17 01:15, 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




Allocation trace

2017-06-24 Thread Andrei Alexandrescu via Digitalmars-d
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