aboutsummaryrefslogtreecommitdiffhomepage
path: root/trace_profile/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'trace_profile/src/Makefile')
-rw-r--r--trace_profile/src/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/trace_profile/src/Makefile b/trace_profile/src/Makefile
new file mode 100644
index 0000000..7e887b8
--- /dev/null
+++ b/trace_profile/src/Makefile
@@ -0,0 +1,8 @@
+ipc: noploop
+ perf stat -e cycles,instructions -- ./noploop
+
+noploop:
+ $(CC) -o noploop noploop.c
+
+clean:
+ $(RM) noploop