mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-29 08:54:34 +00:00
Update manual.
This commit is contained in:
parent
9236f0eb8c
commit
bb69b5fae2
@ -1219,6 +1219,14 @@ These functions return a \texttt{TracyCZoneCtx} context value, which must be han
|
|||||||
|
|
||||||
The variable representing an allocated source location is of an opaque type. After it is passed to one of the zone begin functions, its value \emph{cannot be reused}. You must allocate a new source location for each zone begin event.
|
The variable representing an allocated source location is of an opaque type. After it is passed to one of the zone begin functions, its value \emph{cannot be reused}. You must allocate a new source location for each zone begin event.
|
||||||
|
|
||||||
|
\begin{bclogo}[
|
||||||
|
noborder=true,
|
||||||
|
couleur=black!5,
|
||||||
|
logo=\bcbombe
|
||||||
|
]{Important}
|
||||||
|
Since you are directly calling the profiler functions here, you will need to take care of manually disabling the code, if the \texttt{TRACY\_ENABLE} macro is not defined.
|
||||||
|
\end{bclogo}
|
||||||
|
|
||||||
\subsubsection{Memory profiling}
|
\subsubsection{Memory profiling}
|
||||||
|
|
||||||
Use the following macros in your implementations of \texttt{malloc} and \texttt{free}:
|
Use the following macros in your implementations of \texttt{malloc} and \texttt{free}:
|
||||||
|
Loading…
Reference in New Issue
Block a user