cpi_show_stats

Displays common statistics to stdout using a series of printf calls.

Prototype

#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 values

Return value

Description

CPI_SUCCESS

Statistics successfully displayed to stdout.

CPI_ERROR

Call cpi_get_last_error to obtain the error code.


Details

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.

See also

cpi_stats