projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change IO latency histogram to be in power-of-10
[fio.git]
/
io_u.c
diff --git
a/io_u.c
b/io_u.c
index b8f090bd536a5b3d2077e191684b18f062425c7b..23a64b046861bcf13e68bf316fd5111593468ca4 100644
(file)
--- a/
io_u.c
+++ b/
io_u.c
@@
-289,23
+289,23
@@
static void io_u_mark_latency(struct thread_data *td, unsigned long msec)
switch (msec) {
default:
index++;
switch (msec) {
default:
index++;
- case 10
24 ... 2047
:
+ case 10
00 ... 1999
:
index++;
index++;
- case
512 ... 1023
:
+ case
750 ... 999
:
index++;
index++;
- case
256 ... 511
:
+ case
500 ... 749
:
index++;
index++;
- case
128 ... 255
:
+ case
250 ... 499
:
index++;
index++;
- case
64 ... 127
:
+ case
100 ... 249
:
index++;
index++;
- case
32 ... 63
:
+ case
50 ... 99
:
index++;
index++;
- case
16 ... 31
:
+ case
20 ... 49
:
index++;
index++;
- case
8 ... 15
:
+ case
10 ... 19
:
index++;
index++;
- case 4 ...
7
:
+ case 4 ...
9
:
index++;
case 2 ... 3:
index++;
index++;
case 2 ... 3:
index++;