foxygit / fake-08-xbox360 Log in
commit 12b0160f1a1c6d7128488c6310eae551d560210f
Author:     jtothebell <j.to.the.bell@gmail.com>
AuthorDate: Fri Sep 3 19:22:53 2021 -0600
Commit:     jtothebell <j.to.the.bell@gmail.com>
CommitDate: Fri Sep 3 19:22:53 2021 -0600

    add notes about profiling
---
 platform/SDL1_2/Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/platform/SDL1_2/Makefile b/platform/SDL1_2/Makefile
index 52dd285..012d05f 100644
--- a/platform/SDL1_2/Makefile
+++ b/platform/SDL1_2/Makefile
@@ -25,6 +25,9 @@ CXXFLAGS	:= $(CFLAGS) -fno-rtti -std=gnu++17

 #to profile, link to gperftools profiler
 #LIBS	:= -Wl,--no-as-needed -lprofiler -Wl,--as-needed -lSDL
+#alternatively, use operf
+#sudo operf ./platform/SDL1_2/FAKE08 ~/p8carts/png-x-zero.p8.png
+#opreport --demangle=smart --symbols > fake08-x-zero-master-preoptim2.txt
 LIBS	:= -lSDL

 LDFLAGS	:= $(LIBS)