ark::perf::SchedSwitchCounter
Defined in header “ark/perf/perf_event_decoder.hh”.
Contains the raw ‘sched_switch’ information for sched/sched_switch.
Methods
- std::string previous_state_str()
Returns the previous state as a human-readable string.
Variables
-
std::string_view previous_comm
The process that is being switched away from. -
int32_t previous_pid
The PID that is being switched away from. -
int32_t previous_priority
The priority that is being switched from. -
int64_t previous_state
The state of the process that is being switched from. -
std::string_view next_comm
The task that is being switched to. -
int32_t next_pid
The PID that is being switched to. -
int32_t next_priority
The priority that is being switched to.