예제 #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");
}