Class for Scheduler (SCHED) Events (see BTF Specification Chapter 2.3.4). More...
#include <scheduler.h>
Public Types | |
enum class | Events { schedule , schedulepoint , unknown } |
Possible types of Scheduler events. More... | |
Static Public Member Functions | |
static std::string | eventToString (Events ev) |
Converts the enum Events into string. More... | |
static Events | stringToEvent (const std::string &str) |
Converts a string into the enum Events. More... | |
Class for Scheduler (SCHED) Events (see BTF Specification Chapter 2.3.4).
The scheduler (SCHED) is part of the operating system and manages one or multiple cores. It is responsible for the execution order of all mapped processes on those cores.
|
strong |
Possible types of Scheduler events.
|
static |
Converts the enum Events into string.
[in] | ev | Events enum that will be converted. |
|
static |
Converts a string into the enum Events.
[in] | str | String that will be converted. |