APG
… an ABNF Parser Generator
|
Public header file for the statistics gathering functions. More...
Go to the source code of this file.
Functions | |
void * | vpStatsCtor (void *vpParserCtx) |
The statistics object constructor. More... | |
void | vStatsToHtml (void *vpCtx, const char *cpMode, const char *cpFileName) |
Generates an HTML page displaying the node hit statistics. More... | |
void | vStatsToAscii (void *vpCtx, const char *cpMode, const char *cpFileName) |
Display the statistics in ASCII format. More... | |
Public header file for the statistics gathering functions.
Definition in file stats.h.
void* vpStatsCtor | ( | void * | vpParserCtx | ) |
The statistics object constructor.
vpParserCtx | Pointer to the parent parser's context. If not valid the application will silently exit with a BAD_CONTEXT exit code. |
void vStatsToAscii | ( | void * | vpCtx, |
const char * | cpMode, | ||
const char * | cpFileName | ||
) |
Display the statistics in ASCII format.
vpCtx | Pointer to a valid statistics context returned from vpStatsCtor() If not valid the application will silently exit with a BAD_CONTEXT exit code. |
cpMode | Name of the display mode.
|
cpFileName | Name of the file to write the HTML page to. If NULL, writes to stdout. |
void vStatsToHtml | ( | void * | vpCtx, |
const char * | cpMode, | ||
const char * | cpFileName | ||
) |
Generates an HTML page displaying the node hit statistics.
vpCtx | Pointer to a valid statistics context returned from vpStatsCtor() If not valid the application will silently exit with a BAD_CONTEXT exit code. |
cpMode | Name of the display mode.
|
cpFileName | Name of the file to write the HTML page to. If NULL, writes to stdout. |