-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
34 lines (25 loc) · 731 Bytes
/
Makefile
File metadata and controls
34 lines (25 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
do: run
compile:
@echo "==================================================================================="
g++ gkls.c rnd_gen.c Spark_main.cpp -o spark.out
run: compile
clear
./spark.out --func_cls=1 --func_id=1
test:
g++ test.cpp -o test.out
clear
./test.out
cat:
cat *.sh.po*
cat *.sh.o*
queue:
qstat -f
# qdel
num:
ls results/Disimpl-v/ | wc -l
mem_check: compile
valgrind --tool=memcheck --leak-check=full --track-origins=yes -v ./spark.out --func_cls=1 --func_id=1
profiler: compile
valgrind --tool=callgrind ./spark.out --func_cls=1 --func_id=1
# git clone https://github.com/jrfonseca/gprof2dot bin/gprof2dot
./bin/gprof2dot/gprof2dot.py -f callgrind callgrind.out.* | dot -Tsvg -o profile.svg