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 62 of file TaskTimer.h.
ScopedTaskTimer & TaskTimer::ForGlobal | ( | ) |
Definition at line 24 of file TaskTimer.cpp.
Referenced by lldb_private::trace_intel_pt::TraceIntelPT::DumpTraceInfo().
ScopedTaskTimer & TaskTimer::ForThread | ( | lldb::tid_t | tid | ) |
Definition at line 17 of file TaskTimer.cpp.
Referenced by lldb_private::trace_intel_pt::TraceIntelPT::DumpTraceInfo().
|
private |
Definition at line 74 of file TaskTimer.h.
|
private |
Definition at line 73 of file TaskTimer.h.