LLDB mainline
|
Record produced after parsing the raw context switch trace produce by perf_event. More...
Public Member Functions | |
bool | IsOut () const |
bool | IsIn () const |
Public Attributes | |
uint64_t | tsc |
bool | is_out |
Whether the switch is in or out. | |
lldb::pid_t | pid |
pid = 0 and tid = 0 indicate the swapper or idle process, which normally runs after a context switch out of a normal user thread. | |
lldb::tid_t | tid |
Record produced after parsing the raw context switch trace produce by perf_event.
A major difference between this struct and PerfContextSwitchRecord is that this one uses tsc instead of nanos.
Definition at line 87 of file PerfContextSwitchDecoder.cpp.
|
inline |
Definition at line 98 of file PerfContextSwitchDecoder.cpp.
References is_out.
Referenced by RecoverExecutionsFromConsecutiveRecords().
|
inline |
Definition at line 96 of file PerfContextSwitchDecoder.cpp.
References is_out.
Referenced by RecoverExecutionsFromConsecutiveRecords().
bool ContextSwitchRecord::is_out |
Whether the switch is in or out.
Definition at line 90 of file PerfContextSwitchDecoder.cpp.
lldb::pid_t ContextSwitchRecord::pid |
pid = 0 and tid = 0 indicate the swapper or idle process, which normally runs after a context switch out of a normal user thread.
Definition at line 93 of file PerfContextSwitchDecoder.cpp.
Referenced by RecoverExecutionsFromConsecutiveRecords().
lldb::tid_t ContextSwitchRecord::tid |
Definition at line 94 of file PerfContextSwitchDecoder.cpp.
Referenced by RecoverExecutionsFromConsecutiveRecords().
uint64_t ContextSwitchRecord::tsc |
Definition at line 88 of file PerfContextSwitchDecoder.cpp.
Referenced by RecoverExecutionsFromConsecutiveRecords().