kv_stats_string()

#include <kvstore.h>

const char *
kv_stats_string(kv_store_t *store,
                const kv_stats_t *stats) 

Returns a descriptive string containing metrics for each operation that was actually performed during the statistics gathering interval, one per line.

Parameters

store

The store parameter the handle to the store for which you want to examine statistical information.

stats

The stats parameter is the structure containing the statistical information. This structure is allocated using kv_get_stats(), and is released using kv_release_stats().

See Also

Statistics and Related Functions