summaryrefslogtreecommitdiff
path: root/usr/src/cmd/filebench/common/vars.h
diff options
context:
space:
mode:
authoraw148015 <Andrew.W.Wilson@sun.com>2008-10-27 11:14:30 -0700
committeraw148015 <Andrew.W.Wilson@sun.com>2008-10-27 11:14:30 -0700
commit0bb1cc7eeccb58d82ac6a19e80e41a3781810c28 (patch)
treeda69b8fc153d7fb6f58cf9fbb0306ee8bd5a725b /usr/src/cmd/filebench/common/vars.h
parent5338c544ca00e11e246822f5d465dd162f781dbf (diff)
downloadillumos-joyent-0bb1cc7eeccb58d82ac6a19e80e41a3781810c28.tar.gz
6720351 FileBench should have a Video Server like workload
6725102 FileBench needs some directory manipulation flowops 6753319 SUNWfilebench package dependency issue in snv_99
Diffstat (limited to 'usr/src/cmd/filebench/common/vars.h')
-rw-r--r--usr/src/cmd/filebench/common/vars.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/cmd/filebench/common/vars.h b/usr/src/cmd/filebench/common/vars.h
index d3f8185c97..9225d22b9b 100644
--- a/usr/src/cmd/filebench/common/vars.h
+++ b/usr/src/cmd/filebench/common/vars.h
@@ -76,6 +76,9 @@ typedef struct avd {
#define AVD_IS_RANDOM(vp) ((vp) && ((vp)->avd_type == AVD_IND_RANDVAR))
#define AVD_IS_STRING(vp) ((vp) && (((vp)->avd_type == AVD_VAL_STR) || \
((vp)->avd_type == AVD_VARVAL_STR)))
+#define AVD_IS_VAR(vp) ((vp) && (((vp)->avd_type == AVD_IND_VAR) || \
+ ((vp)->avd_type == AVD_VARVAL_INT) || \
+ ((vp)->avd_type == AVD_VARVAL_DBL)))
typedef struct var {
char *var_name;