aboutsummaryrefslogtreecommitdiff
path: root/salis
diff options
context:
space:
mode:
Diffstat (limited to 'salis')
-rwxr-xr-xsalis3
1 files changed, 3 insertions, 0 deletions
diff --git a/salis b/salis
index ad5aded..7f8b4e2 100755
--- a/salis
+++ b/salis
@@ -77,6 +77,7 @@ options=(
"b|steps|N|Number of steps to run in benchmark||0x1000000|bench"
"C|clones|N|Number of ancestor clones on each core||1|bench:new"
"c|cores|N|Number of simulator cores||2|bench:new"
+ "d|data-push-pow|POW|Data aggregation interval exponent (interval == 2^POW)||30|new"
"F|muta-flip||Cosmic rays flip bits instead of randomizing whole bytes||false|bench:new"
"f|force||Overwrites existing simulation of given name||false|new"
"H|half||Compiles ancestor at the middle of the memory buffer||false|bench:new"
@@ -336,6 +337,8 @@ case ${cmd} in
load|new)
bcmd="${bcmd} -DAUTO_SAVE_INTERVAL=`fpow ${opt_auto_save_pow}`"
bcmd="${bcmd} -DAUTO_SAVE_NAME_LEN=$((${#sim_path} + 20))"
+ bcmd="${bcmd} -DDATA_PUSH_INTERVAL=`fpow ${opt_data_push_pow}`"
+ bcmd="${bcmd} -DDATA_PUSH_PATH=`fquote ${sim_path}.data`"
bcmd="${bcmd} -DMUTA_FLIP_BIT=`[[ ${opt_muta_flip} == true ]] && echo 1 || echo 0`"
bcmd="${bcmd} -DSIM_NAME=`fquote ${opt_name}`"
bcmd="${bcmd} -DSIM_PATH=`fquote ${sim_path}`"