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

Platform context switch statistics. More...

#include <platform_metrics_collector.h>

Collaboration diagram for kcenon::monitoring::platform_context_switches:
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.
 

Detailed Description

Platform context switch statistics.

Examples
platform_metrics_example.cpp.

Definition at line 74 of file platform_metrics_collector.h.

Member Data Documentation

◆ available

bool kcenon::monitoring::platform_context_switches::available {false}

Whether info is available.

Examples
platform_metrics_example.cpp.

Definition at line 79 of file platform_metrics_collector.h.

79{false};

Referenced by display_context_switch_stats().

◆ involuntary_switches

uint64_t kcenon::monitoring::platform_context_switches::involuntary_switches {0}

Involuntary context switches.

Examples
platform_metrics_example.cpp.

Definition at line 77 of file platform_metrics_collector.h.

77{0};

Referenced by display_context_switch_stats().

◆ switches_per_second

double kcenon::monitoring::platform_context_switches::switches_per_second {0.0}

Context switches per second.

Examples
platform_metrics_example.cpp.

Definition at line 78 of file platform_metrics_collector.h.

78{0.0};

Referenced by display_context_switch_stats().

◆ total_switches

uint64_t kcenon::monitoring::platform_context_switches::total_switches {0}

Total context switches.

Examples
platform_metrics_example.cpp.

Definition at line 75 of file platform_metrics_collector.h.

75{0};

Referenced by display_context_switch_stats().

◆ voluntary_switches

uint64_t kcenon::monitoring::platform_context_switches::voluntary_switches {0}

Voluntary context switches.

Examples
platform_metrics_example.cpp.

Definition at line 76 of file platform_metrics_collector.h.

76{0};

Referenced by display_context_switch_stats().


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