From b6627f53bf459334446bb1e2c51728a764c8651d Mon Sep 17 00:00:00 2001 From: johannst Date: Fri, 14 Mar 2025 01:19:37 +0000 Subject: deploy: cb9e06f3a5bd9d42494e6abdaf61fb3fe19d4ea4 --- trace_profile/vtune/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 trace_profile/vtune/Makefile (limited to 'trace_profile/vtune/Makefile') diff --git a/trace_profile/vtune/Makefile b/trace_profile/vtune/Makefile new file mode 100644 index 0000000..694e453 --- /dev/null +++ b/trace_profile/vtune/Makefile @@ -0,0 +1,11 @@ +VTUNE ?= /opt/intel/oneapi/vtune/latest + +main: main.c + gcc -o $@ $^ -I$(VTUNE)/include -L$(VTUNE)/lib64 -littnotify + +vtune: main + $(VTUNE)/bin64/vtune -collect hotspots -start-paused -- ./main + +clean: + $(RM) main + $(RM) -r r*hs -- cgit v1.2.3