projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gfio: use G_OBJECT(), not GTK_OBJECT()
[fio.git]
/
stat.c
diff --git
a/stat.c
b/stat.c
index 0fd8b72587e6eef5882f3041d1db04b40bbb2ca4..70f9e0a1d75e24e5b355e1e9e58078351d364a1a 100644
(file)
--- a/
stat.c
+++ b/
stat.c
@@
-285,11
+285,7
@@
void show_group_stats(struct group_run_stats *rs)
}
}
}
}
-#define ts_total_io_u(ts) \
- ((ts)->total_io_u[0] + (ts)->total_io_u[1])
-
-static void stat_calc_dist(unsigned int *map, unsigned long total,
- double *io_u_dist)
+void stat_calc_dist(unsigned int *map, unsigned long total, double *io_u_dist)
{
int i;
{
int i;
@@
-960,6
+956,11
@@
void show_run_stats(void)
else
memset(ts->description, 0, FIO_JOBNAME_SIZE);
else
memset(ts->description, 0, FIO_JOBNAME_SIZE);
+ /*
+ * If multiple entries in this group, this is
+ * the first member.
+ */
+ ts->thread_number = td->thread_number;
ts->groupid = td->groupid;
/*
ts->groupid = td->groupid;
/*