M2_SETI/T1/TP/TP2/etude.sh
2022-11-18 15:07:43 +01:00

6 lines
No EOL
113 B
Bash

#!/bin/bash
for n in 100 500 1000 2000;
do gcc -O3 -DN=$n -DTYPE=double tp2.c -o tp2;
taskset -c 2 ./tp2;
done