LLDB mainline
|
Class used to track the duration of long running tasks for reporting. More...
#include <TaskTimer.h>
Public Member Functions | |
ScopedTaskTimer & | ForThread (lldb::tid_t tid) |
ScopedTaskTimer & | ForGlobal () |
Private Attributes | |
llvm::DenseMap< lldb::tid_t, ScopedTaskTimer > | m_thread_timers |
ScopedTaskTimer | m_global_timer |
Class used to track the duration of long running tasks for reporting.
Definition at line 60 of file TaskTimer.h.
ScopedTaskTimer & TaskTimer::ForGlobal | ( | ) |
Definition at line 32 of file TaskTimer.cpp.
References m_global_timer.
Referenced by lldb_private::trace_intel_pt::TraceIntelPT::DumpTraceInfoAsJson(), and lldb_private::trace_intel_pt::TraceIntelPT::GetGlobalTimer().
ScopedTaskTimer & TaskTimer::ForThread | ( | lldb::tid_t | tid | ) |
Definition at line 25 of file TaskTimer.cpp.
References m_thread_timers.
Referenced by lldb_private::trace_intel_pt::TraceIntelPT::DumpTraceInfoAsJson(), and lldb_private::trace_intel_pt::TraceIntelPT::GetThreadTimer().
|
private |
Definition at line 72 of file TaskTimer.h.
Referenced by ForGlobal().
|
private |
Definition at line 71 of file TaskTimer.h.
Referenced by ForThread().