Can gc_stats be exposed through core.memory?

Marco Leise Marco.Leise at gmx.de
Sat Jan 21 15:09:58 PST 2012


Am 21.01.2012, 23:24 Uhr, schrieb Bernard Helyer <b.helyer at gmail.com>:

> With a big fat "subject to change use at own risk" warning attached?

Hey, I just had a use for that the other day. Then again on Linux >=  
2.6.32, I can get at the all-time maximum memory usage as measured by the  
OS: http://linux.die.net/man/2/getrusage (or use the Windows counter part:  
http://msdn.microsoft.com/en-us/library/ms683219(v=vs.85).aspx)
Often this is the information you really want.


More information about the Digitalmars-d mailing list