Sign in
foss-fpga-tools
/
third_party
/
vtr-verilog-to-routing
/
a2c37c91c9836429efe18a8bd6fd68bc656e32b7
/
.
/
libs
/
EXTERNAL
/
libtatum
/
scripts
/
sweep_threads.sh
blob: e7781a24bee293206ea6088b788a1043642648dc [
file
] [
log
] [
blame
]
#!/usr/bin/env bash
tg_file
=
$1
max_nthreads
=
$2
for
nthreads
in
$
(
seq $max_nthreads
)
do
export OMP_NUM_THREADS
=
$nthreads
echo
"$OMP_NUM_THREADS thread(s)"
./
sta $1
|
grep
-
P
'AVG|Speed-Up'
echo
done