Small fixes
Signed-off-by: Rafael Ravedutti <rafaelravedutti@gmail.com>
This commit is contained in:
parent
98583cdade
commit
5814a86125
File diff suppressed because it is too large
Load Diff
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user