ssm  0.0.2
Runtime Library for the Sparse Synchronous Model
ssm_mem_statistics Struct Reference

Statistics for the heap; filled with ssm_mem_statistics_collect(). More...

#include <ssm-internal.h>

+ Collaboration diagram for ssm_mem_statistics:

Data Fields

size_t sizeof_ssm_mm
 Size of per-object memory management header. More...
 
size_t page_size
 Bytes in a memory page. More...
 
size_t pages_allocated
 Number of pages that have been allocated. More...
 
size_t objects_allocated
 Total number of allocated objects. More...
 
size_t objects_freed
 Total number of object free events. More...
 
size_t live_objects
 Number of live objects. More...
 
size_t pool_count
 Number of memory pools. More...
 
ssm_mem_statistics_pool_t pool [32]
 Size of the blocks in each pool. More...
 

Detailed Description

Statistics for the heap; filled with ssm_mem_statistics_collect().

A collection of satistics collected by ssm_mem_statistics_collect() and designed to be printed by a function you supply.

Note
Define CONFIG_MEM_STATS to enable this.

Definition at line 263 of file ssm-internal.h.

Field Documentation

◆ sizeof_ssm_mm

size_t sizeof_ssm_mm

Size of per-object memory management header.

Definition at line 264 of file ssm-internal.h.

◆ page_size

size_t page_size

Bytes in a memory page.

Definition at line 265 of file ssm-internal.h.

◆ pages_allocated

size_t pages_allocated

Number of pages that have been allocated.

Definition at line 266 of file ssm-internal.h.

◆ objects_allocated

size_t objects_allocated

Total number of allocated objects.

Definition at line 267 of file ssm-internal.h.

◆ objects_freed

size_t objects_freed

Total number of object free events.

Definition at line 268 of file ssm-internal.h.

◆ live_objects

size_t live_objects

Number of live objects.

Definition at line 269 of file ssm-internal.h.

◆ pool_count

size_t pool_count

Number of memory pools.

Definition at line 270 of file ssm-internal.h.

◆ pool

Size of the blocks in each pool.

Definition at line 271 of file ssm-internal.h.


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