projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1618495
)
[PATCH] Don't hide submission latency numbers, even if they are 0.
author
Jens Axboe
<axboe@suse.de>
Mon, 12 Jun 2006 08:40:03 +0000
(10:40 +0200)
committer
Jens Axboe
<axboe@suse.de>
Mon, 12 Jun 2006 08:40:03 +0000
(10:40 +0200)
stat.c
patch
|
blob
|
blame
|
history
diff --git
a/stat.c
b/stat.c
index d70c5ca9c7bcf78baeb9c591da10d6f88e10dc02..f3aa2320c0a3c474f9495b9a258fb70ac376decf 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-279,8
+279,6
@@
static int calc_lat(struct io_stat *is, unsigned long *min, unsigned long *max,
n = (double) is->samples;
*mean = (double) is->val / n;
*dev = sqrt(((double) is->val_sq - (*mean * *mean) / n) / (n - 1));
- if (!(*min + *max) && !(*mean + *dev))
- return 0;
return 1;
}