aboutsummaryrefslogtreecommitdiffhomepage
path: root/sample/Makefile
diff options
context:
space:
mode:
authorMITSUNARI Shigeo <[email protected]>2019-08-20 16:33:44 +0900
committerMITSUNARI Shigeo <[email protected]>2019-08-24 19:57:43 +0900
commit44dc354676d23528f737d457351b16bff705499e (patch)
tree04701d1374e1d96beaf81da061dff5b93b2bd189 /sample/Makefile
parent4294933450dd0491d620d46db99a2d4f950ddbe9 (diff)
downloadxbyak-44dc354676d23528f737d457351b16bff705499e.tar.gz
xbyak-44dc354676d23528f737d457351b16bff705499e.zip
add Profiler class
Diffstat (limited to 'sample/Makefile')
-rw-r--r--sample/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sample/Makefile b/sample/Makefile
index da21f20..84a7f87 100644
--- a/sample/Makefile
+++ b/sample/Makefile
@@ -85,9 +85,13 @@ jmp_table:
$(CXX) $(CFLAGS) jmp_table.cpp -o $@ -m32
jmp_table64:
$(CXX) $(CFLAGS) jmp_table.cpp -o $@ -m64
+profiler: profiler.cpp ../xbyak/xbyak_util.h
+ $(CXX) $(CFLAGS) profiler.cpp -o $@
+profiler-vtune: profiler.cpp ../xbyak/xbyak_util.h
+ $(CXX) $(CFLAGS) profiler.cpp -o $@ -DXBYAK_USE_VTUNE -I /opt/intel/vtune_amplifier/include/ -L /opt/intel/vtune_amplifier/lib64 -ljitprofiling -ldl
clean:
- rm -rf *.o $(TARGET) *.exe
+ rm -rf *.o $(TARGET) *.exe profiler profiler-vtune
test : test0.cpp $(XBYAK_INC)
test64: test0.cpp $(XBYAK_INC)