mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-25 17:44:23 +00:00
Added profiling command
This commit is contained in:
parent
73b261c471
commit
26ca5f4a19
1 changed files with 3 additions and 0 deletions
|
@ -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 *~
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue