Re: GC stats

2015-07-27 Thread via Digitalmars-d-learn
On Sunday, 26 July 2015 at 17:43:42 UTC, Martin Nowak wrote: On 07/26/2015 04:16 PM, Gary Willoughby wrote: I thought there is a recently added compiler option that profiles the GC and creates a report now? That's an allocation profiler, the other one mentioned by me reports GC sta

Re: GC stats

2015-07-26 Thread Martin Nowak via Digitalmars-d-learn
On 07/26/2015 04:16 PM, Gary Willoughby wrote: > > I thought there is a recently added compiler option that profiles the GC > and creates a report now? That's an allocation profiler, the other one mentioned by me reports GC stats as requested by the OP.

Re: GC stats

2015-07-26 Thread simendsjo via Digitalmars-d-learn
On Sunday, 26 July 2015 at 14:16:46 UTC, Gary Willoughby wrote: On Saturday, 25 July 2015 at 17:43:44 UTC, Martin Nowak wrote: 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 st

Re: GC stats

2015-07-26 Thread Gary Willoughby via Digitalmars-d-learn
On Saturday, 25 July 2015 at 17:43:44 UTC, Martin Nowak wrote: 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.

Re: GC stats

2015-07-25 Thread Martin Nowak via Digitalmars-d-learn
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

GC stats

2015-07-25 Thread via Digitalmars-d-learn
Hello! I was wondering if anyone has suggestions on the easiest way to time how long GC collections take? I haven't seen anything in the docs. 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 blo