Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
FGrowableMallocBase Class Reference

#include <GenericGrowableAllocator.h>

+ Inheritance diagram for FGrowableMallocBase:

Public Member Functions

 FGrowableMallocBase ()
 
virtual ~FGrowableMallocBase ()
 
virtual uint64 GetWasteApproximation ()
 

Protected Attributes

uint64 TotalAllocated
 
uint64 TotalWaste
 
uint64 CurrentAllocs
 
uint64 TotalAllocs
 

Detailed Description

Definition at line 38 of file GenericGrowableAllocator.h.

Constructor & Destructor Documentation

◆ FGrowableMallocBase()

FGrowableMallocBase::FGrowableMallocBase ( )
inline

Constructor

Definition at line 42 of file GenericGrowableAllocator.h.

◆ ~FGrowableMallocBase()

virtual FGrowableMallocBase::~FGrowableMallocBase ( )
inlinevirtual

Definition at line 48 of file GenericGrowableAllocator.h.

Member Function Documentation

◆ GetWasteApproximation()

virtual uint64 FGrowableMallocBase::GetWasteApproximation ( )
inlinevirtual

Returns approximated amount of memory wasted due to allocations' alignment.

Definition at line 54 of file GenericGrowableAllocator.h.

Member Data Documentation

◆ CurrentAllocs

uint64 FGrowableMallocBase::CurrentAllocs
protected

The current number of allocations.

Definition at line 69 of file GenericGrowableAllocator.h.

◆ TotalAllocated

uint64 FGrowableMallocBase::TotalAllocated
protected

Total amount ever allocated

Definition at line 63 of file GenericGrowableAllocator.h.

◆ TotalAllocs

uint64 FGrowableMallocBase::TotalAllocs
protected

The total number of allocations.

Definition at line 72 of file GenericGrowableAllocator.h.

◆ TotalWaste

uint64 FGrowableMallocBase::TotalWaste
protected

The total amount of memory wasted due to allocations' alignment.

Definition at line 66 of file GenericGrowableAllocator.h.


The documentation for this class was generated from the following file: