mirror of
https://github.com/wolfpld/tracy.git
synced 2024-11-10 10:41:50 +00:00
Use "self time" consistently in the UI.
This commit is contained in:
parent
4631d884d6
commit
5046664b8b
@ -2142,7 +2142,7 @@ If the trace capture was performed with call stack sampling enabled (as describe
|
|||||||
|
|
||||||
Here you will find a multi-column display of captured zones, which contains: the zone \emph{name} and \emph{location}, \emph{total time} spent in the zone, the \emph{count} of zone executions and the \emph{mean time spent in the zone per call}. The view may be sorted according to the three displayed values.
|
Here you will find a multi-column display of captured zones, which contains: the zone \emph{name} and \emph{location}, \emph{total time} spent in the zone, the \emph{count} of zone executions and the \emph{mean time spent in the zone per call}. The view may be sorted according to the three displayed values.
|
||||||
|
|
||||||
The \emph{\faClock{}~Show self times} option determines how the displayed time is calculated. If it is disabled, the measurements will be inclusive, that is, containing execution time of zone's children. Enabling the option switches the measurement to exclusive, displaying just the time spent in zone, subtracting the child calls.
|
The \emph{\faClock{}~Self time} option determines how the displayed time is calculated. If it is disabled, the measurements will be inclusive, that is, containing execution time of zone's children. Enabling the option switches the measurement to exclusive, displaying just the time spent in zone, subtracting the child calls.
|
||||||
|
|
||||||
Clicking the \LMB{} left mouse button on a zone will open the individual zone statistics view in the find zone window (section~\ref{findzone}).
|
Clicking the \LMB{} left mouse button on a zone will open the individual zone statistics view in the find zone window (section~\ref{findzone}).
|
||||||
|
|
||||||
@ -2163,7 +2163,7 @@ Some function locations may not be found, due to insufficient debugging data ava
|
|||||||
|
|
||||||
The last column, \emph{Time} or \emph{Count} (depending on the \emph{\faStopwatch{}~Show time} option selection) shows number of taken samples, either as a raw count, or in an easier to understand time format.
|
The last column, \emph{Time} or \emph{Count} (depending on the \emph{\faStopwatch{}~Show time} option selection) shows number of taken samples, either as a raw count, or in an easier to understand time format.
|
||||||
|
|
||||||
Finally, the list can be filtered using the \emph{\faFilter{}~Filter symbols} entry field, just like in the instrumentation mode case, and the exclusive/inclusive time counting mode can be switched using the \emph{\faClock{}~Exclusive} switch.
|
Finally, the list can be filtered using the \emph{\faFilter{}~Filter symbols} entry field, just like in the instrumentation mode case, and the exclusive/inclusive time counting mode can be switched using the \emph{\faClock{}~Self time} switch.
|
||||||
|
|
||||||
\subsection{Find zone window}
|
\subsection{Find zone window}
|
||||||
\label{findzone}
|
\label{findzone}
|
||||||
|
@ -6575,7 +6575,7 @@ void View::DrawZoneInfoWindow()
|
|||||||
if( expand )
|
if( expand )
|
||||||
{
|
{
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
if( SmallCheckbox( "Exclusive time", &m_timeDist.exclusiveTime ) ) m_timeDist.dataValidFor = nullptr;
|
if( SmallCheckbox( "Self time", &m_timeDist.exclusiveTime ) ) m_timeDist.dataValidFor = nullptr;
|
||||||
if( ctx )
|
if( ctx )
|
||||||
{
|
{
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
@ -11123,9 +11123,9 @@ void View::DrawStatistics()
|
|||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
#ifdef TRACY_EXTENDED_FONT
|
#ifdef TRACY_EXTENDED_FONT
|
||||||
ImGui::Checkbox( ICON_FA_CLOCK " Show self times", &m_statSelf );
|
ImGui::Checkbox( ICON_FA_CLOCK " Self time", &m_statSelf );
|
||||||
#else
|
#else
|
||||||
ImGui::Checkbox( "Show self times", &m_statSelf );
|
ImGui::Checkbox( "Self time", &m_statSelf );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ImGui::Separator();
|
ImGui::Separator();
|
||||||
@ -11233,9 +11233,9 @@ void View::DrawStatistics()
|
|||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
#ifdef TRACY_EXTENDED_FONT
|
#ifdef TRACY_EXTENDED_FONT
|
||||||
ImGui::Checkbox( ICON_FA_CLOCK " Exclusive", &m_statSelf );
|
ImGui::Checkbox( ICON_FA_CLOCK " Self time", &m_statSelf );
|
||||||
#else
|
#else
|
||||||
ImGui::Checkbox( "Exclusive", &m_statSelf );
|
ImGui::Checkbox( "Self time", &m_statSelf );
|
||||||
#endif
|
#endif
|
||||||
ImGui::SameLine();
|
ImGui::SameLine();
|
||||||
ImGui::Spacing();
|
ImGui::Spacing();
|
||||||
|
Loading…
Reference in New Issue
Block a user