wavelength 1.0.0
Loading...
Searching...
No Matches
BlockStat Class Reference

Totals of the tracked allocations of one tag. More...

#include <blockstattable.h>

Static Public Member Functions

static bool SizeGreater (const BlockStat &a, const BlockStat &b)
 Order by bytes allocated, largest first.
static bool NameLess (const BlockStat &a, const BlockStat &b)
 Order by name.

Public Attributes

const char * mName
int mSizeRequested
int mSizeActual
int mMaxRequested
int mNumAllocs
int mSizeReq
int mMaxSize

Detailed Description

Totals of the tracked allocations of one tag.

Totals of the allocations that share a name.

The object is 0x14 bytes. The name is inferred from BlockStatTable.

Member Function Documentation

◆ SizeGreater()

bool BlockStat::SizeGreater ( const BlockStat & a,
const BlockStat & b )
static

Order by bytes allocated, largest first.

Parameters
aThe first total.
bThe second total.
Returns
Whether a allocated at least as many bytes as b.
Ghidra address:
0x1001aaf0

◆ NameLess()

bool BlockStat::NameLess ( const BlockStat & a,
const BlockStat & b )
static

Order by name.

Parameters
aThe first total.
bThe second total.
Returns
Whether a's name sorts before b's.
Ghidra address:
0x1001ab10

Member Data Documentation

◆ mName

const char * BlockStat::mName

The tag.

The allocations' name.

◆ mSizeRequested

int BlockStat::mSizeRequested

The bytes requested.

◆ mSizeActual

int BlockStat::mSizeActual

The bytes handed out.

Bytes allocated, padding included.

◆ mMaxRequested

int BlockStat::mMaxRequested

The largest request.

◆ mNumAllocs

int BlockStat::mNumAllocs

The number of allocations.

Number of allocations.

◆ mSizeReq

int BlockStat::mSizeReq

Bytes requested, or the one request size when sizes are kept apart.

◆ mMaxSize

int BlockStat::mMaxSize

The largest request.


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