diff lphobos/gcstats.d @ 1:c53b6e3fe49a trunk

[svn r5] Initial commit. Most things are very rough.
author lindquist
date Sat, 01 Sep 2007 21:43:27 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/lphobos/gcstats.d	Sat Sep 01 21:43:27 2007 +0200
@@ -0,0 +1,15 @@
+// Copyright (c) 1999-2002 by Digital Mars
+// All Rights Reserved
+// written by Walter Bright
+// www.digitalmars.com
+
+struct GCStats
+{
+    size_t poolsize;		// total size of pool
+    size_t usedsize;		// bytes allocated
+    size_t freeblocks;		// number of blocks marked FREE
+    size_t freelistsize;		// total of memory on free lists
+    size_t pageblocks;		// number of blocks marked PAGE
+}
+
+