From 2a2f64081191dba1588561cb0f0510b44fc3711d Mon Sep 17 00:00:00 2001 From: Paul Oliver Date: Mon, 20 Oct 2025 02:15:45 +0200 Subject: Data aggregation (WIP) --- salis | 3 +++ 1 file changed, 3 insertions(+) (limited to 'salis') 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}`" -- cgit v1.2.1