Skip to content
GitLab
Explore
Sign in
Commits on Source (2)
Add iterations variable used for --reps
· afe1f443
PETAR ANDRIC
authored
Apr 22, 2025
afe1f443
Merge branch 'contrib' into 'main'
· 87903c41
Ramon Nou
authored
Apr 22, 2025
Add iterations variable used for --reps See merge request
!6
87903c41
Show whitespace changes
Inline
Side-by-side
scripts/run.sh
View file @
87903c41
#!/bin/bash
SYSCALL
=
"getpid"
BUILD
=
../build
BUILD
=
"
$(
dirname
$0
)
/
../build
"
ITERATIONS
=
100000000
REPEATS
=
20
ARCH
=
"
$(
uname
-m
2>/dev/null
||
echo
-n
unknown
)
"
NATIVE
=
"
$BUILD
/opendevnull --syscall
$SYSCALL
"
INTERC
=
"
$BUILD
/opendevnull --syscall
$SYSCALL
"
SC2SC
=
"
$BUILD
/opendevnull --syscall
$SYSCALL
--always_syscall"
NATIVE
=
"
$BUILD
/opendevnull --syscall
$SYSCALL
--reps
$ITERATIONS
"
INTERC
=
"
$BUILD
/opendevnull --syscall
$SYSCALL
--reps
$ITERATIONS
"
SC2SC
=
"
$BUILD
/opendevnull --syscall
$SYSCALL
--reps
$ITERATIONS
--always_syscall"
# Arrays to store output values
...
...