summaryrefslogtreecommitdiff
path: root/stat.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-06-22 09:15:03 -0600
committerJens Axboe <axboe@kernel.dk>2017-06-22 09:15:03 -0600
commit74558486d208cc073ef3f3f963a51381b9215a04 (patch)
treec5c232164c9d8489937f98c4b9bbc7840439dbff /stat.h
parent84e893fd54a0895b9eadd8b4c62243faf19c9305 (diff)
downloadfio-74558486d208cc073ef3f3f963a51381b9215a04.tar.gz
fio-74558486d208cc073ef3f3f963a51381b9215a04.tar.bz2
Fixup some style issues
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/stat.h b/stat.h
index a4cfd1df..132dee3c 100644
--- a/stat.h
+++ b/stat.h
@@ -314,8 +314,9 @@ extern int calc_log_samples(void);
extern struct io_log *agg_io_log[DDIR_RWDIR_CNT];
extern int write_bw_log;
-static inline bool nsec_to_usec(unsigned long long *min, unsigned long long *max,
- double *mean, double *dev)
+static inline bool nsec_to_usec(unsigned long long *min,
+ unsigned long long *max, double *mean,
+ double *dev)
{
if (*min > 2000 && *max > 99999 && *dev > 1000.0) {
*min /= 1000;
@@ -328,8 +329,9 @@ static inline bool nsec_to_usec(unsigned long long *min, unsigned long long *max
return false;
}
-static inline bool nsec_to_msec(unsigned long long *min, unsigned long long *max,
- double *mean, double *dev)
+static inline bool nsec_to_msec(unsigned long long *min,
+ unsigned long long *max, double *mean,
+ double *dev)
{
if (*min > 2000000 && *max > 99999999ULL && *dev > 1000000.0) {
*min /= 1000000;
@@ -341,6 +343,7 @@ static inline bool nsec_to_msec(unsigned long long *min, unsigned long long *max
return false;
}
+
/*
* Worst level condensing would be 1:5, so allow enough room for that
*/