Variables | |
str | ROOT_DIR = "$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" |
PYTHONPATH | |
int | DEFAULT_TRIALS = 100000000 |
tuple | ALL_METHODS = ("Sequential" "Heap" "Pool" "SIMD") |
str | SCRIPT_DIR = "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" |
BATCHID = $(uuidgen | cut -d'-' -f1) | |
str | BUILD_PATH = "./build/montecarlo" |
GLOBAL_TIMESTAMP = $(date "+%Y-%m-%d_%H-%M-%S") | |
str | ARG1 = "$1" |
str | ARG2 = "$2" |
ARG3 | |
INSERT_DB = true | |
int | TRIALS = $DEFAULT_TRIALS |
tuple | METHODS = ("${ALL_METHODS[@]}") |
str | LOG_DIR = "db/logs/batch_${BATCHID}_${GLOBAL_TIMESTAMP}" |
str | PERF_EVENTS = "" |
METHOD_TIMESTAMP = $(date +"%Y-%m-%d %H:%M:%S") | |
str | LOG_PATH = "$LOG_DIR/perf_${METHOD}_${METHOD_TIMESTAMP}.csv" |
str | PERF_PARQUET = "$LOG_DIR/perf_results_${METHOD}_${METHOD_TIMESTAMP}_${BATCHID}.parquet" |
START_NS = $(date +%s%N) | |
END = $(date +%s%N) | |
WALL_NS = $((END - START_NS)) | |
WALL_S = $(awk "BEGIN {printf \"%.6f\", $WALL_NS / 1000000000}") | |
tuple scripts.run_perf.ALL_METHODS = ("Sequential" "Heap" "Pool" "SIMD") |
Definition at line 92 of file run_perf.sh.
str scripts.run_perf.ARG1 = "$1" |
Definition at line 99 of file run_perf.sh.
str scripts.run_perf.ARG2 = "$2" |
Definition at line 100 of file run_perf.sh.
scripts.run_perf.ARG3 |
Definition at line 101 of file run_perf.sh.
scripts.run_perf.BATCHID = $(uuidgen | cut -d'-' -f1) |
Definition at line 94 of file run_perf.sh.
str scripts.run_perf.BUILD_PATH = "./build/montecarlo" |
Definition at line 95 of file run_perf.sh.
int scripts.run_perf.DEFAULT_TRIALS = 100000000 |
Definition at line 91 of file run_perf.sh.
scripts.run_perf.END = $(date +%s%N) |
Definition at line 155 of file run_perf.sh.
scripts.run_perf.GLOBAL_TIMESTAMP = $(date "+%Y-%m-%d_%H-%M-%S") |
Definition at line 96 of file run_perf.sh.
scripts.run_perf.INSERT_DB = true |
Definition at line 103 of file run_perf.sh.
str scripts.run_perf.LOG_DIR = "db/logs/batch_${BATCHID}_${GLOBAL_TIMESTAMP}" |
Definition at line 129 of file run_perf.sh.
str scripts.run_perf.LOG_PATH = "$LOG_DIR/perf_${METHOD}_${METHOD_TIMESTAMP}.csv" |
Definition at line 148 of file run_perf.sh.
scripts.run_perf.METHOD_TIMESTAMP = $(date +"%Y-%m-%d %H:%M:%S") |
Definition at line 145 of file run_perf.sh.
tuple scripts.run_perf.METHODS = ("${ALL_METHODS[@]}") |
Definition at line 111 of file run_perf.sh.
str scripts.run_perf.PERF_EVENTS = "" |
Definition at line 133 of file run_perf.sh.
str scripts.run_perf.PERF_PARQUET = "$LOG_DIR/perf_results_${METHOD}_${METHOD_TIMESTAMP}_${BATCHID}.parquet" |
Definition at line 149 of file run_perf.sh.
scripts.run_perf.PYTHONPATH |
Definition at line 86 of file run_perf.sh.
str scripts.run_perf.ROOT_DIR = "$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" |
Definition at line 85 of file run_perf.sh.
str scripts.run_perf.SCRIPT_DIR = "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" |
Definition at line 93 of file run_perf.sh.
scripts.run_perf.START_NS = $(date +%s%N) |
Definition at line 153 of file run_perf.sh.
str scripts.run_perf.TRIALS = $DEFAULT_TRIALS |
Definition at line 110 of file run_perf.sh.
Definition at line 157 of file run_perf.sh.
scripts.run_perf.WALL_S = $(awk "BEGIN {printf \"%.6f\", $WALL_NS / 1000000000}") |
Definition at line 158 of file run_perf.sh.