6 lines
113 B
Bash
6 lines
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
|