annotate lphobos/gcstats.d @ 286:a3b7c19c866c
trunk
[svn r307] Fixed: multidimensional new expressions now work. Eg.:
auto ma = new int[][] (3,9);
author |
lindquist |
date |
Sat, 21 Jun 2008 04:47:14 +0200 |
parents |
c53b6e3fe49a |
children |
|
rev |
line source |
1
|
1 // Copyright (c) 1999-2002 by Digital Mars
|
|
2 // All Rights Reserved
|
|
3 // written by Walter Bright
|
|
4 // www.digitalmars.com
|
|
5
|
|
6 struct GCStats
|
|
7 {
|
|
8 size_t poolsize; // total size of pool
|
|
9 size_t usedsize; // bytes allocated
|
|
10 size_t freeblocks; // number of blocks marked FREE
|
|
11 size_t freelistsize; // total of memory on free lists
|
|
12 size_t pageblocks; // number of blocks marked PAGE
|
|
13 }
|
|
14
|
|
15
|