M2_SETI/T1/TP/TP2/etude.sh

6 lines
113 B
Bash
Raw Normal View History

2022-11-18 15:07:43 +01:00
#!/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