projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cleanup: add defines for default pareto or zipf values
[fio.git]
/
fio.h
diff --git
a/fio.h
b/fio.h
index 0601b376414b80cd31f44eb80d5e60e7119cf268..be2f23aa9f7662f448c9b1f63b6f087333bdb9a2 100644
(file)
--- a/
fio.h
+++ b/
fio.h
@@
-252,6
+252,7
@@
struct thread_data {
struct timeval start; /* start of this loop */
struct timeval epoch; /* time job was started */
struct timeval last_issue;
struct timeval start; /* start of this loop */
struct timeval epoch; /* time job was started */
struct timeval last_issue;
+ long time_offset;
struct timeval tv_cache;
struct timeval terminate_time;
unsigned int tv_cache_nr;
struct timeval tv_cache;
struct timeval terminate_time;
unsigned int tv_cache_nr;
@@
-641,6
+642,9
@@
enum {
FIO_RAND_DIST_PARETO,
};
FIO_RAND_DIST_PARETO,
};
+#define FIO_DEF_ZIPF 1.1
+#define FIO_DEF_PARETO 0.2
+
enum {
FIO_RAND_GEN_TAUSWORTHE = 0,
FIO_RAND_GEN_LFSR,
enum {
FIO_RAND_GEN_TAUSWORTHE = 0,
FIO_RAND_GEN_LFSR,