 |
|
Revision 4971, 1.5 kB
(checked in by larsivi, 2 years ago)
|
module name changes
|
- Property svn:eol-style set to
native
|
| Line | |
|---|
| 1 |
/** |
|---|
| 2 |
* This module contains garbage collector statistics functionality. |
|---|
| 3 |
* |
|---|
| 4 |
* Copyright: Copyright (C) 2005-2006 Digital Mars, www.digitalmars.com. |
|---|
| 5 |
* All rights reserved. |
|---|
| 6 |
* License: |
|---|
| 7 |
* This software is provided 'as-is', without any express or implied |
|---|
| 8 |
* warranty. In no event will the authors be held liable for any damages |
|---|
| 9 |
* arising from the use of this software. |
|---|
| 10 |
* |
|---|
| 11 |
* Permission is granted to anyone to use this software for any purpose, |
|---|
| 12 |
* including commercial applications, and to alter it and redistribute it |
|---|
| 13 |
* freely, in both source and binary form, subject to the following |
|---|
| 14 |
* restrictions: |
|---|
| 15 |
* |
|---|
| 16 |
* o The origin of this software must not be misrepresented; you must not |
|---|
| 17 |
* claim that you wrote the original software. If you use this software |
|---|
| 18 |
* in a product, an acknowledgment in the product documentation would be |
|---|
| 19 |
* appreciated but is not required. |
|---|
| 20 |
* o Altered source versions must be plainly marked as such, and must not |
|---|
| 21 |
* be misrepresented as being the original software. |
|---|
| 22 |
* o This notice may not be removed or altered from any source |
|---|
| 23 |
* distribution. |
|---|
| 24 |
* Authors: Walter Bright, Sean Kelly |
|---|
| 25 |
*/ |
|---|
| 26 |
module rt.gc.basic.gcstats; |
|---|
| 27 |
|
|---|
| 28 |
/** |
|---|
| 29 |
* |
|---|
| 30 |
*/ |
|---|
| 31 |
struct GCStats |
|---|
| 32 |
{ |
|---|
| 33 |
size_t poolsize; // total size of pool |
|---|
| 34 |
size_t usedsize; // bytes allocated |
|---|
| 35 |
size_t freeblocks; // number of blocks marked FREE |
|---|
| 36 |
size_t freelistsize; // total of memory on free lists |
|---|
| 37 |
size_t pageblocks; // number of blocks marked PAGE |
|---|
| 38 |
} |
|---|
Download in other formats:
|
 |
 |
|
 |
Copyright © 2006-2012 Tango. All Rights Reserved. | Page Width:
Static or
Dynamic