1
Fork 0
mirror of https://github.com/Steffo99/unimore-hpc-assignments.git synced 2024-11-22 08:04:25 +00:00

Added profiling command

This commit is contained in:
Alessandro Capotondi 2021-04-16 09:48:57 +02:00
parent 73b261c471
commit 26ca5f4a19

View file

@ -24,6 +24,9 @@ all: $(EXE)
run: $(EXE) run: $(EXE)
./$(EXE) $(EXT_ARGS) ./$(EXE) $(EXT_ARGS)
profile: $(EXE)
valgrind --tool=callgrind --dump-instr=yes --simulate-cache=yes --collect-jumps=yes ./$(EXE) $(EXT_ARGS)
clean: clean:
rm -f $(OBJS) *.o *.exe *.out *~ rm -f $(OBJS) *.o *.exe *.out *~