Download Makefile source code

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
include ../../common/Makefile

FLAG+=-pthread
PERF=perf stat -B -e cache-references,cache-misses,cycles,instructions,branches,faults,migrations

.PHONY: perf
perf:
	$(PERF) $(EXEFILE) 0
	$(PERF) $(EXEFILE) 1
	$(PERF) $(EXEFILE) 2
	$(PERF) $(EXEFILE) 3