Version 7.0
Copyright © 2021 Lowell D. Thomas
APG
… an ABNF Parser Generator
Data Fields
mem_stats Struct Reference

Available to the user for display of memory statistics. More...

#include <memory.h>

Data Fields

aint uiAllocations
 
aint uiReAllocations
 
aint uiFrees
 
aint uiCells
 
aint uiMaxCells
 
aint uiHeapBytes
 
aint uiMaxHeapBytes
 

Detailed Description

Available to the user for display of memory statistics.

Note that to generate and use the memory statistics the library must be compiled with the macro APG_MEM_STATS defined. e.g.

gcc -DAPG_MEM_STATS ...

Definition at line 45 of file memory.h.

Field Documentation

◆ uiAllocations

aint mem_stats::uiAllocations

The number of memory allocations.

Definition at line 46 of file memory.h.

◆ uiCells

aint mem_stats::uiCells

The current number of memory cells (allocations).

Definition at line 49 of file memory.h.

◆ uiFrees

aint mem_stats::uiFrees

The number of memory allocations freed.

Definition at line 48 of file memory.h.

◆ uiHeapBytes

aint mem_stats::uiHeapBytes

The current number of heap bytes allocated.

Definition at line 51 of file memory.h.

◆ uiMaxCells

aint mem_stats::uiMaxCells

The maximum number of memory cells allocated.

Definition at line 50 of file memory.h.

◆ uiMaxHeapBytes

aint mem_stats::uiMaxHeapBytes

The maximum number of heap bytes allocated.

Definition at line 52 of file memory.h.

◆ uiReAllocations

aint mem_stats::uiReAllocations

The number of re-allocations.

Definition at line 47 of file memory.h.


The documentation for this struct was generated from the following file:
APG Version 7.0 is licensed under the 2-Clause BSD License,
an Open Source Initiative Approved License.