projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
HOWTO: add description and examples of verify triggers
[fio.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index 1bfbbebefdfb68e62ad62f509c6008ae1b1f8f7d..9d816d4f18a07f35ecdd9fef8105403b5714dcda 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-263,7
+263,7
@@
int calc_lat(struct io_stat *is, unsigned long *min, unsigned long *max,
void show_group_stats(struct group_run_stats *rs)
{
char *p1, *p2, *p3, *p4;
void show_group_stats(struct group_run_stats *rs)
{
char *p1, *p2, *p3, *p4;
- const char *
ddir_
str[] = { " READ", " WRITE" , " TRIM"};
+ const char *str[] = { " READ", " WRITE" , " TRIM"};
int i;
log_info("\nRun status group %d (all jobs):\n", rs->groupid);
int i;
log_info("\nRun status group %d (all jobs):\n", rs->groupid);
@@
-281,7
+281,7
@@
void show_group_stats(struct group_run_stats *rs)
log_info("%s: io=%s, aggrb=%s/s, minb=%s/s, maxb=%s/s,"
" mint=%llumsec, maxt=%llumsec\n",
log_info("%s: io=%s, aggrb=%s/s, minb=%s/s, maxb=%s/s,"
" mint=%llumsec, maxt=%llumsec\n",
- rs->unified_rw_rep ? " MIXED" :
ddir_
str[i],
+ rs->unified_rw_rep ? " MIXED" : str[i],
p1, p2, p3, p4,
(unsigned long long) rs->min_run[i],
(unsigned long long) rs->max_run[i]);
p1, p2, p3, p4,
(unsigned long long) rs->min_run[i],
(unsigned long long) rs->max_run[i]);
@@
-363,7
+363,7
@@
static void display_lat(const char *name, unsigned long min, unsigned long max,
static void show_ddir_status(struct group_run_stats *rs, struct thread_stat *ts,
int ddir)
{
static void show_ddir_status(struct group_run_stats *rs, struct thread_stat *ts,
int ddir)
{
- const char *
ddir_
str[] = { "read ", "write", "trim" };
+ const char *str[] = { "read ", "write", "trim" };
unsigned long min, max, runt;
unsigned long long bw, iops;
double mean, dev;
unsigned long min, max, runt;
unsigned long long bw, iops;
double mean, dev;
@@
-386,7
+386,7
@@
static void show_ddir_status(struct group_run_stats *rs, struct thread_stat *ts,
iops_p = num2str(iops, 6, 1, 0, 0);
log_info(" %s: io=%s, bw=%s/s, iops=%s, runt=%6llumsec\n",
iops_p = num2str(iops, 6, 1, 0, 0);
log_info(" %s: io=%s, bw=%s/s, iops=%s, runt=%6llumsec\n",
- rs->unified_rw_rep ? "mixed" :
ddir_
str[ddir],
+ rs->unified_rw_rep ? "mixed" : str[ddir],
io_p, bw_p, iops_p,
(unsigned long long) ts->runtime[ddir]);
io_p, bw_p, iops_p,
(unsigned long long) ts->runtime[ddir]);