Makefile: make it easier to cross-compile
when tagging the trace, add the tid of both threads for reference
separate out set-affinity
separate out priority for test
refactor, split out in more functions
store priority, policy and trace-limit in sem_test
respect cpu-mask constraint
don't base initial max/min on pair#0 (could be ignored)
print avg of time waited