Quantum 3
3.0.13
The configuration of the frame heap. More...
Public Member Functions | |
| Config (int pageShift, int pageCount, int heapCount) | |
| Initializes a new instance of the Config struct. More... | |
| readonly bool | Equals (Config other) |
| Determines whether the specified object is equal to the current object. More... | |
| readonly override bool | Equals (object obj) |
| Determines whether the specified object is equal to the current object. More... | |
| readonly override int | GetHashCode () |
| Serves as the default hash function. More... | |
| readonly override string | ToString () |
| Returns a string that represents the current object. More... | |
Static Public Member Functions | |
| static Config | Default (int heapCount) |
| Gets the default configuration. More... | |
| static bool | operator!= (Config a, Config b) |
| Determines whether two instances of Config are not equal. More... | |
| static bool | operator== (Config a, Config b) |
| Determines whether two instances of Config are equal. More... | |
Public Attributes | |
| readonly int | HEAP_COUNT |
| Sets extra heaps to allocate for a session in case you need to create 'auxiliary' frames than actually required for the simulation itself. More... | |
| readonly int | HEAP_SIZE |
| Heap size defined by PAGE_SIZE times PAGE_COUNT. More... | |
| readonly int | PAGE_COUNT |
| Define the max heap page count for memory the frame class uses for custom allocations like QList for example. More... | |
| readonly int | PAGE_SHIFT |
| Define the max heap size for one page of memory the frame class uses for custom allocations like QList for example. More... | |
| readonly int | PAGE_SIZE |
| Using the PAGE_SHIFT resulting size. More... | |
| readonly int | SMALL_BIN_ARRAY_SIZE |
| Small bin array size. More... | |
| readonly int | SMALL_BIN_COUNT |
| The number of small bins. More... | |
| readonly int | SMALL_BIN_SIZE |
| The threshold for small objects. More... | |
The configuration of the frame heap.
|
inline |
Initializes a new instance of the Config struct.
| pageShift | The page shift value. |
| pageCount | The page count value. |
| heapCount | The heap count value. |
|
inlinestatic |
Gets the default configuration.
| heapCount | The heap count value. |
|
inline |
Determines whether the specified object is equal to the current object.
| other | The object to compare with the current object. |
true if the specified object is equal to the current object; otherwise, false.
|
inline |
Determines whether the specified object is equal to the current object.
| obj | The object to compare with the current object. |
true if the specified object is equal to the current object; otherwise, false.
|
inline |
Serves as the default hash function.
Determines whether two instances of Config are equal.
| a | The first instance to compare. |
| b | The second instance to compare. |
true if the instances are equal; otherwise, false.Determines whether two instances of Config are not equal.
| a | The first instance to compare. |
| b | The second instance to compare. |
true if the instances are not equal; otherwise, false.
|
inline |
Returns a string that represents the current object.
| readonly int Quantum.Allocator.Heap.Config.PAGE_SHIFT |
Define the max heap size for one page of memory the frame class uses for custom allocations like QList for example.
| readonly int Quantum.Allocator.Heap.Config.PAGE_COUNT |
Define the max heap page count for memory the frame class uses for custom allocations like QList for example.
| readonly int Quantum.Allocator.Heap.Config.PAGE_SIZE |
Using the PAGE_SHIFT resulting size.
| readonly int Quantum.Allocator.Heap.Config.HEAP_SIZE |
Heap size defined by PAGE_SIZE times PAGE_COUNT.
| readonly int Quantum.Allocator.Heap.Config.HEAP_COUNT |
Sets extra heaps to allocate for a session in case you need to create 'auxiliary' frames than actually required for the simulation itself.
| readonly int Quantum.Allocator.Heap.Config.SMALL_BIN_SIZE |
The threshold for small objects.
| readonly int Quantum.Allocator.Heap.Config.SMALL_BIN_COUNT |
The number of small bins.
| readonly int Quantum.Allocator.Heap.Config.SMALL_BIN_ARRAY_SIZE |
Small bin array size.