summaryrefslogtreecommitdiffstats
path: root/now_test_all_pairs.sh
blob: fe5493920a7d45b44507fdb94657f574034ea915 (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

ncpus=`cat /proc/cpuinfo |grep 'model name' |wc -l`
for i in `seq 0 $(($ncpus-1))`; do
    for j in `seq 0 $(($ncpus-1))`; do
	if [[ "$i" != "$j" ]]; then
	    echo -n "$i,$j: "
	    ./evil-clock-test -N -p $i,$j |grep 'Now test'
	fi
    done
done