APG
… an ABNF Parser Generator
|
Vector usage statistics. More...
#include <vector.h>
Data Fields | |
aint | uiElementSize |
The number of bytes in one element. More... | |
aint | uiOriginalElements |
The initial number of elements allocated to the vector. More... | |
aint | uiOriginalBytes |
The initial number of bytes allocated to the vector. More... | |
aint | uiReserved |
The current number of elements reserved. More... | |
aint | uiUsed |
The current number elements used. More... | |
aint | uiMaxUsed |
The maximum number of elements used during the vector's lifetime. More... | |
aint | uiReservedBytes |
The current number of bytes reserved. More... | |
aint | uiUsedBytes |
The current number of bytes in use. More... | |
aint | uiMaxUsedBytes |
The maximum number of bytes used over the lifetime of the vector. More... | |
aint | uiPushed |
The total number of elements pushed onto (added to) the vector. More... | |
aint | uiPopped |
The total number of elements popped from (removed from) the vector. More... | |
aint | uiGrownCount |
The number times the vector was automatically extended. More... | |
aint | uiGrownElements |
The number new elements automatically added to the vector. More... | |
aint | uiGrownBytes |
The number of bytes automatically added to the vector. More... | |
Vector usage statistics.
If APG_VEC_STATS is defined, the vector object will collect usage statistics to be reported with this structure if requested with vVecStats(). If APG_VEC_STATS is not defined, the vector object will not collect usage statistics and vVecStats() will return this structure empty.
aint vec_stats::uiElementSize |
aint vec_stats::uiGrownBytes |
aint vec_stats::uiGrownCount |
aint vec_stats::uiGrownElements |
aint vec_stats::uiMaxUsed |
aint vec_stats::uiMaxUsedBytes |
aint vec_stats::uiOriginalBytes |
aint vec_stats::uiOriginalElements |
aint vec_stats::uiPopped |
aint vec_stats::uiPushed |
aint vec_stats::uiReserved |
aint vec_stats::uiReservedBytes |
aint vec_stats::uiUsedBytes |