diff --git a/Makefile b/Makefile index 810c815..cc7e5e5 100644 --- a/Makefile +++ b/Makefile @@ -21,13 +21,13 @@ build: chmod +x ${BINARY_NAME} run: build - ./${BINARY_NAME} -s -f ./samples/$(TEST).txt -o program.out + ./${BINARY_NAME} -s -f ./tests/$(TEST).test -o program.out profile: build - ./${BINARY_NAME} -p profile/cpu.prof -f ./samples/$(TEST).txt -o program.out + ./${BINARY_NAME} -p profile/cpu.prof -f ./tests/$(TEST).test -o program.out explain: build - ./${BINARY_NAME} -x -p profile/cpu.prof -f ./samples/$(TEST).txt -o program.out + ./${BINARY_NAME} -x -p profile/cpu.prof -f ./tests/$(TEST).test -o program.out > explain.out graph: go tool pprof -raw -output=profile/cpu.raw profile/cpu.prof