www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Can gc_stats be exposed through core.memory?

reply "Bernard Helyer" <b.helyer gmail.com> writes:
With a big fat "subject to change use at own risk" warning 
attached?
Jan 21 2012
next sibling parent =?UTF-8?B?QWxleCBSw7hubmUgUGV0ZXJzZW4=?= <xtzgzorex gmail.com> writes:
On 21-01-2012 23:24, Bernard Helyer wrote:
 With a big fat "subject to change use at own risk" warning attached?

Would also like to have this. -- - Alex
Jan 21 2012
prev sibling parent "Marco Leise" <Marco.Leise gmx.de> writes:
Am 21.01.2012, 23:24 Uhr, schrieb Bernard Helyer <b.helyer 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.
Jan 21 2012