ShinyAllocator  1.0
ShinyAllocator is a library of a block memory allocator for real-time high-integrity embedded systems.
Public Attributes | List of all members
shinyAllocatorDiagnostics Struct Reference

shinyAllocator instance More...

#include <shinyAllocator.h>

Public Attributes

size_t capacity
 
size_t allocated
 
size_t peakAllocated
 
size_t peakRequestSize
 
size_t outOfMemeoryCount
 

Detailed Description

shinyAllocator instance

struct for performing runtime diagnostic tests

Parameters
capacityconstant parameter which indicates the total size of the momory pool
allocatedcurrently allocated memory (this values is alligned)
peakAllocatedthe maximum memory ever allocated in the pool(Max. allocated)
peakRequestSizethe maximum size ever allocator tried to allocate
outOfMemeoryCountnon-decreasing number of times the allocation request failed due to lack of memory

Member Data Documentation

◆ allocated

size_t shinyAllocatorDiagnostics::allocated

◆ capacity

size_t shinyAllocatorDiagnostics::capacity

◆ outOfMemeoryCount

size_t shinyAllocatorDiagnostics::outOfMemeoryCount

◆ peakAllocated

size_t shinyAllocatorDiagnostics::peakAllocated

◆ peakRequestSize

size_t shinyAllocatorDiagnostics::peakRequestSize

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