From 11b3d23b37c9e1cccbde0ea23737791f305c5670 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 4 Aug 2018 22:04:03 +0200 Subject: [PATCH] Document secondary frame sets. --- manual/tracy.tex | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/manual/tracy.tex b/manual/tracy.tex index f120ce8a..98b5a5d6 100644 --- a/manual/tracy.tex +++ b/manual/tracy.tex @@ -181,9 +181,19 @@ With the aforementioned steps you will be able to connect to the profiled progra \subsection{Marking frames} +\begin{bclogo}[ +noborder=true, +couleur=black!5, +logo=\bclampe +]{Do I need this?} +This step is optional, as some applications do not use the concept of a frame. +\end{bclogo} + To slice the program's execution recording into frame-sized chunks, put the \texttt{FrameMark} macro after you have completed rendering the frame. Ideally that would be right after the swap buffers command. -Note that this step is optional, as some applications do not use the concept of a frame. +\subsubsection{Secondary frame sets} + +In some cases you may want to track more than one set of frames in your program. In such case, you may use the \texttt{FrameMarkNamed(name)} macro, which will create a new set of frames for each unique name you provide. \subsection{Marking zones}