projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure we have enough room for the ETA runstr
[fio.git]
/
stat.h
diff --git
a/stat.h
b/stat.h
index 3f68305adb2841c3aac8f98de942be94b8e23d5b..2c2f1e1a5e2c4e8be3fa375997c7c9d900a1bc4a 100644
(file)
--- a/
stat.h
+++ b/
stat.h
@@
-241,4
+241,7
@@
static inline int usec_to_msec(unsigned long *min, unsigned long *max,
return 1;
}
+#define __THREAD_RUNSTR_SZ(nr) (((nr) * 5) + 1)
+#define THREAD_RUNSTR_SZ __THREAD_RUNSTR_SZ(thread_number)
+
#endif