ChibiOS/RT  5.1.0
kernel_stats_t Struct Reference

Type of a kernel statistics structure. More...

#include <chstats.h>

Collaboration diagram for kernel_stats_t:
Collaboration graph

Data Fields

ucnt_t n_irq
 Number of IRQs. More...
 
ucnt_t n_ctxswc
 Number of context switches. More...
 
time_measurement_t m_crit_thd
 Measurement of threads critical zones duration. More...
 
time_measurement_t m_crit_isr
 Measurement of ISRs critical zones duration. More...
 

Detailed Description

Type of a kernel statistics structure.

Definition at line 56 of file chstats.h.

Field Documentation

ucnt_t kernel_stats_t::n_irq

Number of IRQs.

Definition at line 57 of file chstats.h.

Referenced by _stats_increase_irq(), and _stats_init().

ucnt_t kernel_stats_t::n_ctxswc

Number of context switches.

Definition at line 58 of file chstats.h.

Referenced by _stats_ctxswc(), and _stats_init().

time_measurement_t kernel_stats_t::m_crit_thd

Measurement of threads critical zones duration.

Definition at line 59 of file chstats.h.

Referenced by _stats_init(), _stats_start_measure_crit_thd(), and _stats_stop_measure_crit_thd().

time_measurement_t kernel_stats_t::m_crit_isr

Measurement of ISRs critical zones duration.

Definition at line 61 of file chstats.h.

Referenced by _stats_init(), _stats_start_measure_crit_isr(), and _stats_stop_measure_crit_isr().