gwnavruntime/kernel/HeapPT/HeapPT_Starter.h Source File
Go to the documentation of this file.
19 #ifndef INC_KY_Kernel_Heap_Starter_H
20 #define INC_KY_Kernel_Heap_Starter_H
24 namespace Kaim {
namespace HeapPT {
59 Starter(SysAllocPaged* sysAlloc,
60 UPInt granularity = 4*Heap_PageSize,
61 UPInt headerPageSize = 1*Heap_PageSize);
63 SysAllocPaged* GetSysAlloc() {
return Allocator.GetSysAlloc(); }
65 void* Alloc(UPInt size, UPInt alignSize);
66 void Free(
void* ptr, UPInt size, UPInt alignSize);
68 void VisitMem(MemVisitor* visitor)
const;
69 void VisitSegments(
class SegVisitor* visitor)
const;
71 UPInt GetFootprint()
const {
return Allocator.GetFootprint(); }
72 UPInt GetUsedSpace()
const {
return Allocator.GetUsedSpace(); }
Definition: gamekitcrowddispersion.h:20