GC.stats

core.memory.GC.Stats stats() @safe nothrow @nogc

Retrieve statistics about garbage collection. Useful for debugging and tuning.