GC stats

Martin Nowak via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Jul 25 10:43:36 PDT 2015


On Saturday, 25 July 2015 at 17:34:26 UTC, Márcio Martins wrote:
> What I want is a clean non-intrusive way to log when a 
> collection happened, how long my threads were stopped, how much 
> total memory and how many blocks were recovered. i.e. how much 
> garbage was created in between collections. Are there any hooks 
> on the runtime?

http://dlang.org/changelog.html#gc-options
https://github.com/D-Programming-Language/druntime/blob/1e25749cd01ad08dc08319a3853fbe86356c3e62/src/rt/config.d#L14


More information about the Digitalmars-d-learn mailing list