|
ITTIA DB SQL C API
5.4.0
|
#include <ittia/db.h>
Data Fields | |
| int | have_statistics |
| db_statitem_t | nreq |
| struct { | |
| db_statitem_t sys | |
| db_statitem_t user | |
| size_t max_alloc | |
| } | actual_bytes |
| struct { | |
| db_statitem_t heap | |
| size_t max_alloc | |
| } | estimate_blocks |
| size_t | num_segs |
| size_t | page_size |
| size_t | heap_size |
Statistics for memory allocation with the built-in allocator.
Only memory allocated internally by ITTIA DB is tracked, but the amount can vary with application behavior.
True when memory allocation statistics are available.
These statistics are only available when the built-in allocator has been enabled, the
Number of outstanding allocations.
Total heap memory consumed, including overhead, in bytes.
Total allocated space, excluding overhead, in bytes.
Maximum individual allocation request, in bytes, since reset.
Maximum number of blocks required for an individual allocation since reset.
Number of segments used for at least one allocation.
Block size (minimum unit of allocation).
Total memory configured for the allocator.