summaryrefslogtreecommitdiff
path: root/usr/src/cmd/filebench/common/filebench.h
diff options
context:
space:
mode:
authoraw148015 <none@none>2008-03-18 13:52:42 -0700
committeraw148015 <none@none>2008-03-18 13:52:42 -0700
commit1b24378ce424258d555f0363de97728c68c862ce (patch)
treebbe79ddba7d5a5756ae39cbb3069307df2fa962e /usr/src/cmd/filebench/common/filebench.h
parent334edc4840d12dfd25a5559468cdd15a375cd111 (diff)
downloadillumos-joyent-1b24378ce424258d555f0363de97728c68c862ce.tar.gz
6627653 FileBench needs to support random variables
Diffstat (limited to 'usr/src/cmd/filebench/common/filebench.h')
-rw-r--r--usr/src/cmd/filebench/common/filebench.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/usr/src/cmd/filebench/common/filebench.h b/usr/src/cmd/filebench/common/filebench.h
index ae710b587b..e41813f529 100644
--- a/usr/src/cmd/filebench/common/filebench.h
+++ b/usr/src/cmd/filebench/common/filebench.h
@@ -66,6 +66,14 @@
extern "C" {
#endif
+#ifndef TRUE
+#define TRUE 1
+#endif
+
+#ifndef FALSE
+#define FALSE 0
+#endif
+
extern pid_t my_pid; /* this process' process id */
extern procflow_t *my_procflow; /* if slave process, procflow pointer */
extern int errno;
@@ -90,8 +98,6 @@ void filebench_shutdown(int error);
#define filebench_randomno filebench_randomno32
#define FILEBENCH_RANDMAX FILEBENCH_RANDMAX32
#endif
-int filebench_randomno32(uint32_t *, uint32_t, uint32_t);
-int filebench_randomno64(uint64_t *, uint64_t, uint64_t);
#define KB (1024LL)
#define MB (KB * KB)
@@ -103,7 +109,7 @@ int filebench_randomno64(uint64_t *, uint64_t, uint64_t);
#define MIN(x, y) ((x) < (y) ? (x) : (y))
#endif
-#define FILEBENCH_VERSION "1.1.1"
+#define FILEBENCH_VERSION "1.2.0"
#define FILEBENCHDIR "/usr/benchmarks/filebench"
#define FILEBENCH_PROMPT "filebench> "
#define MAX_LINE_LEN 1024