nvme/perf: add additional latency cutoffs
Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I1aee7aba522cc816f69709cfc95d12c50a5d0f4b Reviewed-on: https://review.gerrithub.io/367279 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
This commit is contained in:
parent
65bd6422ee
commit
79f53469eb
@ -90,11 +90,14 @@ static const double g_latency_cutoffs[] = {
|
||||
0.75,
|
||||
0.90,
|
||||
0.95,
|
||||
0.98,
|
||||
0.99,
|
||||
0.995,
|
||||
0.999,
|
||||
0.9999,
|
||||
0.99999,
|
||||
0.999999,
|
||||
0.9999999,
|
||||
-1,
|
||||
};
|
||||
|
||||
@ -715,7 +718,7 @@ check_cutoff(void *ctx, uint64_t start, uint64_t end, uint64_t count,
|
||||
|
||||
so_far_pct = (double)so_far / total;
|
||||
while (so_far_pct >= **cutoff && **cutoff > 0) {
|
||||
printf("%8.4f%% : %9.3fus\n", **cutoff * 100, (double)end * 1000 * 1000 / g_tsc_rate);
|
||||
printf("%9.5f%% : %9.3fus\n", **cutoff * 100, (double)end * 1000 * 1000 / g_tsc_rate);
|
||||
(*cutoff)++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user