gwnavruntime/kernel/HeapPT/HeapPT_SysAllocMalloc.h Source File
Go to the documentation of this file.
19 #ifndef INC_KY_Kernel_SysAllocMalloc_H
20 #define INC_KY_Kernel_SysAllocMalloc_H
29 class SysAllocPagedMalloc :
public SysAllocBase_SingletonSupport<SysAllocPagedMalloc, SysAllocPaged>
32 enum { MinGranularity = 64*1024 };
34 KY_EXPORT SysAllocPagedMalloc(UPInt granularity = MinGranularity);
36 virtual void GetInfo(Info* i)
const;
37 virtual void* Alloc(UPInt size, UPInt align);
38 virtual bool Free(
void* ptr, UPInt size, UPInt align);
40 virtual UPInt GetFootprint()
const {
return Footprint; }
41 virtual UPInt GetUsedSpace()
const {
return Footprint; }
43 virtual UPInt GetBase()
const;
Definition: gamekitcrowddispersion.h:20