![]() |
Leptonica 1.85.0
Image processing and image analysis suite
|
Data Fields | |
| struct L_Ptraa * | paa |
| size_t | minsize |
| size_t | smallest |
| size_t | largest |
| size_t | nbytes |
| l_int32 | nlevels |
| size_t * | sizes |
| l_int32 * | allocarray |
| l_uint32 * | baseptr |
| l_uint32 * | maxptr |
| l_uint32 ** | firstptr |
| l_int32 * | memused |
| l_int32 * | meminuse |
| l_int32 * | memmax |
| l_int32 * | memempty |
| char * | logfile |
Pix memory storage
Definition at line 117 of file pixalloc.c.
| l_int32* PixMemoryStore::allocarray |
Number of mem alloc'd at each size
Definition at line 127 of file pixalloc.c.
Referenced by pmsCreate(), and pmsDestroy().
| l_uint32* PixMemoryStore::baseptr |
ptr to allocated array
Definition at line 128 of file pixalloc.c.
Referenced by pmsCreate(), pmsDestroy(), and pmsGetLevelForDealloc().
| l_uint32** PixMemoryStore::firstptr |
array of ptrs to first chunk in size
Definition at line 130 of file pixalloc.c.
Referenced by pmsCreate(), pmsDestroy(), and pmsGetLevelForDealloc().
| size_t PixMemoryStore::largest |
Larest mem (in bytes) alloc'd
Definition at line 123 of file pixalloc.c.
Referenced by pmsCreate(), and pmsGetLevelForAlloc().
| char* PixMemoryStore::logfile |
log: set to null if no logging
Definition at line 136 of file pixalloc.c.
Referenced by pmsCreate(), pmsCustomAlloc(), pmsCustomDealloc(), pmsDestroy(), and pmsGetAlloc().
| l_uint32* PixMemoryStore::maxptr |
ptr just beyond allocated memory
Definition at line 129 of file pixalloc.c.
Referenced by pmsCreate(), and pmsGetLevelForDealloc().
| l_int32* PixMemoryStore::memempty |
log: # of pix alloc'd because
the store was empty (by level)
Definition at line 134 of file pixalloc.c.
Referenced by pmsCreate(), pmsCustomAlloc(), pmsDestroy(), and pmsLogInfo().
| l_int32* PixMemoryStore::meminuse |
log: # of pix in use (by level)
Definition at line 132 of file pixalloc.c.
Referenced by pmsCreate(), pmsCustomAlloc(), pmsCustomDealloc(), and pmsDestroy().
| l_int32* PixMemoryStore::memmax |
log: max # of pix in use (by level)
Definition at line 133 of file pixalloc.c.
Referenced by pmsCreate(), pmsCustomAlloc(), pmsDestroy(), and pmsLogInfo().
| l_int32* PixMemoryStore::memused |
log: total # of pix used (by level)
Definition at line 131 of file pixalloc.c.
Referenced by pmsCreate(), pmsCustomAlloc(), pmsDestroy(), and pmsLogInfo().
| size_t PixMemoryStore::minsize |
Pix smaller than this (in bytes)
are allocated dynamically
Definition at line 120 of file pixalloc.c.
Referenced by pmsCreate(), and pmsGetLevelForAlloc().
| size_t PixMemoryStore::nbytes |
Size of allocated block w/ all chunks
Definition at line 124 of file pixalloc.c.
Referenced by pmsCreate(), pmsCustomAlloc(), pmsGetAlloc(), and pmsGetLevelForAlloc().
| l_int32 PixMemoryStore::nlevels |
Num of power-of-2 sizes pre-alloc'd
Definition at line 125 of file pixalloc.c.
Referenced by pmsCreate(), pmsGetLevelForAlloc(), pmsGetLevelForDealloc(), and pmsLogInfo().
| struct L_Ptraa* PixMemoryStore::paa |
Holds ptrs to allocated memory
Definition at line 119 of file pixalloc.c.
Referenced by pmsCreate(), pmsCustomAlloc(), pmsCustomDealloc(), and pmsDestroy().
| size_t* PixMemoryStore::sizes |
Mem sizes at each power-of-2 level
Definition at line 126 of file pixalloc.c.
Referenced by pmsCreate(), pmsDestroy(), and pmsLogInfo().
| size_t PixMemoryStore::smallest |
Smallest mem (in bytes) alloc'd
Definition at line 122 of file pixalloc.c.
Referenced by pmsCreate(), pmsGetAlloc(), and pmsGetLevelForAlloc().