diff --git a/C/makefile b/C/makefile index 3fe983c0..29ead65f 100644 --- a/C/makefile +++ b/C/makefile @@ -83,6 +83,7 @@ time-linux-simple: profile-linux: echo "Requires perf, which depends on the kernel, and might be in linux-tools package or similar" + echo "Must be run as sudo" $(CC) $(SRC) $(OPENMP) $(MATH) -o $(OUTPUT) # ./$(OUTPUT) # gprof: @@ -91,7 +92,7 @@ profile-linux: # vim analysis.txt # rm analysis.txt # perf: - perf record $(OUTPUT) + OMP_NUM_THREADS=16 sudo perf record $(OUTPUT) perf report rm perf.data diff --git a/C/out/samples b/C/out/samples index 18ec0585..72e98f2d 100755 Binary files a/C/out/samples and b/C/out/samples differ