Memory Allocator Configuration.
More...
|
|
int | BlockCount |
| | Block Count Config value.
|
|
int | BlockShift |
| | Block Shift Config value.
|
|
int | GlobalsSize |
| | Globals Size Config value.
|
|
|
const int | DEFAULT_BLOCK_COUNT = 256 |
| | Default Block Count.
|
|
const PageSizes | DEFAULT_BLOCK_SHIFT = PageSizes._32Kb |
| | Default Block Shift.
|
|
|
readonly int | BlockByteSize [get] |
| | Block Size in Bytes.
|
|
readonly int | BlockWordCount [get] |
| | Block Size in Words.
|
|
readonly int | HeapSizeAllocated [get] |
| | Heap Size Allocated in Bytes.
|
|
readonly int | HeapSizeUsable [get] |
| | Heap Size in Bytes.
|
Memory Allocator Configuration.
◆ Config()
| Config |
( |
PageSizes | shift, |
|
|
int | count, |
|
|
int | globalsSize ) |
Config Constructor.
- Parameters
-
| shift | Block Shift |
| count | Block Count |
| globalsSize | Globals Size |
◆ Equals() [1/2]
| readonly bool Equals |
( |
Config | other | ) |
|
Check Config equality.
- Parameters
-
- Returns
- True if has the same values
◆ Equals() [2/2]
| override readonly bool Equals |
( |
object | obj | ) |
|
Check Config equality.
- Parameters
-
- Returns
- True if obj is a Config and has the same values
◆ GetHashCode()
| override readonly int GetHashCode |
( |
| ) |
|
Get Hash Code.
- Returns
- Hash Code