kv_detailed_metrics_list_get_scan_time()
#include <kvstore.h>
kv_error_t
kv_detailed_metrics_list_get_scan_time(
const kv_detailed_metrics_list_t *res,
kv_int_t index,
kv_long_t *time)
Returns the time in milliseconds used to scan the partition or shard.
Parameters
-
res
The res parameter is the detailed metrics list for which you want the scan time. It is created using either kv_parallel_scan_get_partition_metrics()or kv_parallel_scan_get_shard_metrics().
-
index
The index parameter is the point in the scan up to which you want to examine the scan time.
-
time
The time parameter references memory into which is placed the time in milliseconds taken to perform the scan up to the point identified by index.
See Also