Monitoring System 0.1.0
System resource monitoring with pluggable collectors and alerting
Loading...
Searching...
No Matches
kcenon::monitoring::platform::context_switch_info Struct Reference

Context switch statistics. More...

#include <metrics_provider.h>

Collaboration diagram for kcenon::monitoring::platform::context_switch_info:
Collaboration graph

Public Attributes

uint64_t total_switches {0}
 Total context switches.
 
uint64_t voluntary_switches {0}
 Voluntary context switches.
 
uint64_t involuntary_switches {0}
 Involuntary context switches.
 
double switches_per_second {0.0}
 Context switches per second.
 
bool available {false}
 Whether info is available.
 
std::chrono::system_clock::time_point timestamp
 

Detailed Description

Context switch statistics.

Definition at line 52 of file metrics_provider.h.

Member Data Documentation

◆ available

bool kcenon::monitoring::platform::context_switch_info::available {false}

Whether info is available.

Definition at line 57 of file metrics_provider.h.

57{false};

◆ involuntary_switches

uint64_t kcenon::monitoring::platform::context_switch_info::involuntary_switches {0}

Involuntary context switches.

Definition at line 55 of file metrics_provider.h.

55{0};

◆ switches_per_second

double kcenon::monitoring::platform::context_switch_info::switches_per_second {0.0}

Context switches per second.

Definition at line 56 of file metrics_provider.h.

56{0.0};

◆ timestamp

std::chrono::system_clock::time_point kcenon::monitoring::platform::context_switch_info::timestamp

Definition at line 58 of file metrics_provider.h.

◆ total_switches

uint64_t kcenon::monitoring::platform::context_switch_info::total_switches {0}

Total context switches.

Definition at line 53 of file metrics_provider.h.

53{0};

◆ voluntary_switches

uint64_t kcenon::monitoring::platform::context_switch_info::voluntary_switches {0}

Voluntary context switches.

Definition at line 54 of file metrics_provider.h.

54{0};

The documentation for this struct was generated from the following file: