nn::fnd::UnitHeapTemplate::GetRequiredHeapSize Member Function
static size_t GetRequiredHeapSize(
size_t unit,
size_t numUnit,
s32 alignment = DEFAULT_ALIGNMENT
);
| Name | Description | |
|---|---|---|
| in | unit | The size of the unit |
| in | numUnit | Number of blocks to allocate. |
| in | alignment | Alignment of the unit. |
Gets the minimum size of heap memory required to manage the specified number of blocks of the specified unit size and alignment.
CONFIDENTIAL