Пример #1
0
void
latency_print(WTPERF *wtperf)
{
	TRACK total;

	sum_insert_latency(wtperf, &total);
	latency_print_single(wtperf, &total, "insert");
	sum_read_latency(wtperf, &total);
	latency_print_single(wtperf, &total, "read");
	sum_update_latency(wtperf, &total);
	latency_print_single(wtperf, &total, "update");
}
Пример #2
0
void
latency_print(CONFIG *cfg)
{
	TRACK total;

	sum_insert_latency(cfg, &total);
	latency_print_single(cfg, &total, "insert");
	sum_read_latency(cfg, &total);
	latency_print_single(cfg, &total, "read");
	sum_update_latency(cfg, &total);
	latency_print_single(cfg, &total, "update");
}