From 5c20c659ec371957df08a6347fadfac9bf78a5a3 Mon Sep 17 00:00:00 2001 From: Loek Le Blansch Date: Wed, 11 Sep 2024 15:10:03 +0200 Subject: add notes + callgrind profiling poc --- makefile | 1 + research.tex | 35 ++++++++++++++++++++++++++++++----- time.txt | 1 + 3 files changed, 32 insertions(+), 5 deletions(-) diff --git a/makefile b/makefile index 02c583e..15eae95 100644 --- a/makefile +++ b/makefile @@ -1,4 +1,5 @@ all: plan.pdf +all: research.pdf LATEXMKFLAGS += -cd LATEXMKFLAGS += -interaction=nonstopmode diff --git a/research.tex b/research.tex index ca2afed..16dcef4 100644 --- a/research.tex +++ b/research.tex @@ -176,15 +176,36 @@ for audio some options could be: FMOD, Wwise, or iirKlang \subsection{Conclusion} -\section{Memory/debugging} +% TODO: this entire section +\section{Profiling and debugging} + +% Which profiling and debugging features are wanted? +% How to provide those profiling and debugging features? +% Can most of the profiling/debugging be handled by external tools? + +% Ideas: +% - flame graph +% - watchtable (combine w/ fps/speed control overlay?) +% - debug printing utility functions \subsection{Introduction} \subsection{Findings} +\subsubsection{Callgrind} + +\begin{comparison} + \pro{Source code does not need to be modified for profiling} + \con{Execution speed is severely impacted} +\end{comparison} + \subsection{Conclusion} -\section{Physics/scripting} +% TODO: this entire section +\section{Audio} + +% should audio research be scoped down to SDL2 (if that's what we're going with) or +% standalone libraries only (for modularity?). \subsection{Introduction} @@ -192,7 +213,13 @@ for audio some options could be: FMOD, Wwise, or iirKlang \subsection{Conclusion} -\section{Conclusion} +\section{Physics/scripting} + +\subsection{Introduction} + +\subsection{Findings} + +\subsection{Conclusion} \section{Gameobjects/components} @@ -202,6 +229,4 @@ for audio some options could be: FMOD, Wwise, or iirKlang \subsection{Conclusion} -\section{Conclusion} - \end{document} diff --git a/time.txt b/time.txt index 671ea4f..53eeac0 100644 --- a/time.txt +++ b/time.txt @@ -18,6 +18,7 @@ loek: 2024-09-10 1h55m project meeting loek: 2024-09-10 25m briefing :: watch bob videos loek: 2024-09-10 5m docs :: update readme loek: 2024-09-10 12m docs :: add comparison package and more example latex code +loek: 2024-09-11 1h40m research :: profiling and debugging max: 2024-09-02 1h project meeting :: project kickoff max: 2024-09-02 45m project meeting -- cgit v1.2.3