示例#1
0
文件: track.c 项目: DINKIN/mongo
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");
}