コード例 #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
ファイル: track.c プロジェクト: AlexOreshkevich/mongo
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");
}