Soft'N'Design Software
/
projects
/
benchmarks.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2cc0e3
)
change number of measures (10k -> 20k)
author
Laurent MAZET
<laurent.mazet@thalesgroup.com>
Thu, 23 Oct 2025 10:21:34 +0000
(12:21 +0200)
committer
Laurent MAZET
<laurent.mazet@thalesgroup.com>
Thu, 23 Oct 2025 10:21:34 +0000
(12:21 +0200)
test.sh
patch
|
blob
|
blame
|
history
diff --git
a/test.sh
b/test.sh
index 6317d2789cd509e6108f40649043879e6b0aaab6..ee36afde9757c330dab648d74aa3d310f9ae84c4 100755
(executable)
--- a/
test.sh
+++ b/
test.sh
@@
-1,6
+1,7
@@
#!/bin/sh
nbcpu=$(grep -c processor /proc/cpuinfo)
+nbtests=20000
run() {
dcore=$1
@@
-14,7
+15,7
@@
run() {
date | tee $name.log
./getinfo.sh | tee -a $name.log
echo "CPU load: $load% ($lcpu/$nbcpu)" | tee -a $name.log
- { ./$exe -d 1 -k $dcore -n
10000
-s -o $name.dat | tee -a $name.log; \
+ { ./$exe -d 1 -k $dcore -n
$nbtests
-s -o $name.dat | tee -a $name.log; \
kill -2 $(ps -e | awk '/[l]oad/ || /[s]leep/ { print $1 }') 2>/dev/null; } &
./load -r -1 -n $lcpu >/dev/null
echo "Cleaning..."