Changeset 4162 for branches/Grace/src/win32k/include/rmalloc.h
- Timestamp:
- Sep 2, 2000, 10:49:29 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Grace/src/win32k/include/rmalloc.h
r2506 r4162 1 /* $Id: rmalloc.h,v 1.2 2000-01-24 01:44:08bird Exp $1 /* $Id: rmalloc.h,v 1.2.4.1 2000-09-02 20:49:15 bird Exp $ 2 2 * 3 3 * Resident Heap. … … 20 20 #endif 21 21 /* XLATON */ 22 /******************************************************************************* 23 * Structures and Typedefs * 24 *******************************************************************************/ 25 typedef struct HeapState_s /* note: this is used by both swappable and resident heaps */ 26 { 27 ULONG cbHeapSize; /* Amount of memory used by the heap free and used++. */ 28 ULONG cbHeapFree; /* Amount of used space. */ 29 ULONG cbHeapUsed; /* Amount of free space reserved. */ 30 ULONG cBlocksUsed; /* Count of used blocks. */ 31 ULONG cBlocksFree; /* Count of free blocks. */ 32 } HEAPSTATE, *PHEAPSTATE; 33 22 34 23 35 /******************************************************************************* … … 33 45 int _res_validptr2(void *, unsigned); 34 46 unsigned _res_memfree(void); 47 unsigned _res_memused(void); 48 int _res_state(PHEAPSTATE); 35 49 int _res_heap_check(void); 36 50 void _res_heapmin(void); 37 51 void _res_dump_subheaps(void); 38 52 void _res_dump_allocated(unsigned); 53 54 extern unsigned cbResHeapMax; /* Maximum amount of memory used by the heap. */ 55 39 56 40 57 /* XLATOFF */
Note:
See TracChangeset
for help on using the changeset viewer.