From 25c39a3311d0a2bff5e78c6e68efdb49fbe7e331 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Tue, 5 Nov 2019 18:16:58 +0100 Subject: [PATCH] Update manual. --- manual/tracy.tex | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/manual/tracy.tex b/manual/tracy.tex index 0b03f945..57fc5b08 100644 --- a/manual/tracy.tex +++ b/manual/tracy.tex @@ -867,6 +867,14 @@ If using the \texttt{TracyLockable} or \texttt{TracySharedLockable} wrappers doe Tracy is able to capture and draw numeric value changes over time. You may use it to analyze draw call counts, number of performed queries, etc. To report data, use the \texttt{TracyPlot(name, value)} macro. +To configure how plot values are presented by the profiler, you may use the \texttt{TracyPlotConfig(name, format)} macro, where \texttt{format} is one of the following options: + +\begin{itemize} +\item \texttt{tracy::PlotFormatType::Number} -- values will be displayed as plain numbers. +\item \texttt{tracy::PlotFormatType::Memory} -- treats the values as memory sizes. Will display kilobytes, megabytes, etc. +\item \texttt{tracy::PlotFormatType::Percentage} -- values will be displayed as percentage (with value $100$ being equal to $100\%$). +\end{itemize} + \subsection{Message log} \label{messagelog}