From dfb9ae1a907559100b5ae64dc48d186e81a67510 Mon Sep 17 00:00:00 2001 From: Bartosz Taudul Date: Sat, 21 Sep 2019 15:03:09 +0200 Subject: [PATCH] Update manual. --- manual/tracy.tex | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manual/tracy.tex b/manual/tracy.tex index 8a98e2f0..d3caf605 100644 --- a/manual/tracy.tex +++ b/manual/tracy.tex @@ -777,6 +777,10 @@ logo=\bcattention Due to limits of internal bookkeeping in the profiler, each lock may be used in no more than 64 unique threads. If you have many short lived temporary threads, consider using a thread pool to limit the numbers of created threads. \end{bclogo} +\subsubsection{Custom locks} + +If using the \texttt{TracyLockable} or \texttt{TracySharedLockable} wrappers does not fit your needs, you may want to add a more fine-grained instrumentation to your code. Classes \texttt{LockableCtx} and \texttt{SharedLockableCtx} contained in the \texttt{TracyLock.hpp} header contain all the required functionality. Lock implementations in classes \texttt{Lockable} and \texttt{SharedLockable} show how to properly perform context handling. + \subsection{Plotting data} \label{plottingdata}