kv_get_num_operations()

#include <kvstore.h>

kv_int_t 
kv_get_num_operations(const kv_stats_t *stats)

Returns the total number of store operations described by the provided statistics structure.

Parameters

  • stats

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