Small fixes

Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
Rafael Ravedutti 2023-02-12 01:44:48 +01:00
parent 98583cdade
commit 5814a86125
2 changed files with 964 additions and 1006 deletions

File diff suppressed because it is too large Load Diff

View File

@ -17,6 +17,7 @@ FREQ="${FREQ:-2.4}"
NRUNS="${NRUNS:-3}" NRUNS="${NRUNS:-3}"
LOG="${LOG:-latencies_and_cfds.log}" LOG="${LOG:-latencies_and_cfds.log}"
STUB_ONLY="${STUB_ONLY:-false}" STUB_ONLY="${STUB_ONLY:-false}"
SKIP_SET_FREQ="${SKIP_SET_FREQ:-false}"
OPTIND=2 OPTIND=2
while getopts "c:f:n:l:s" flag; do while getopts "c:f:n:l:s" flag; do
@ -73,8 +74,10 @@ echo "Frequency: $FREQ" | tee -a $LOG
echo "Number of runs: $NRUNS" | tee -a $LOG echo "Number of runs: $NRUNS" | tee -a $LOG
echo "Run only stubbed cases: $STUB_ONLY" | tee -a $LOG echo "Run only stubbed cases: $STUB_ONLY" | tee -a $LOG
echo "Fixing frequencies..." if [ "$SKIP_SET_FREQ" == "false" ]; then
likwid-setFrequencies -f $FREQ -t 0 echo "Fixing frequencies..."
likwid-setFrequencies -f $FREQ -t 0
fi
for p in $PREFETCHERS; do for p in $PREFETCHERS; do
if [ "$p" != "IGNORE" ]; then if [ "$p" != "IGNORE" ]; then