Displays common statistics to stdout using a series of printf calls.
#include txcpi.h
S16 cpi_show_stats ( TX_STATS_COMMON *stats)
Argument |
Description |
stats |
Pointer to a location where common statistics information is written. |
Return value |
Description |
CPI_SUCCESS |
Statistics successfully displayed to stdout. |
CPI_ERROR |
Call cpi_get_last_error to obtain the error code. |
cpi_show_stats enables an application to display all common statistics in a standardized format. All statistics definitions can be found in the txstats.h include file.