31 #if (CH_DBG_STATISTICS == TRUE) || defined(__DOXYGEN__)    77   port_unlock_from_isr();
 void _stats_start_measure_crit_thd(void)
Starts the measurement of a thread critical zone. 
void _stats_stop_measure_crit_thd(void)
Stops the measurement of a thread critical zone. 
time_measurement_t m_crit_isr
Measurement of ISRs critical zones duration. 
void _stats_ctxswc(thread_t *ntp, thread_t *otp)
Updates context switch related statistics. 
ucnt_t n_irq
Number of IRQs. 
ucnt_t n_ctxswc
Number of context switches. 
ch_system_t ch
System data structures. 
NOINLINE void chTMStartMeasurementX(time_measurement_t *tmp)
Starts a measurement. 
void _stats_init(void)
Initializes the statistics module. 
NOINLINE void chTMChainMeasurementToX(time_measurement_t *tmp1, time_measurement_t *tmp2)
Stops a measurement and chains to the next one using the same time stamp. 
void _stats_increase_irq(void)
Increases the IRQ counter. 
kernel_stats_t kernel_stats
Global kernel statistics. 
time_measurement_t stats
Thread statistics. 
void _stats_start_measure_crit_isr(void)
Starts the measurement of an ISR critical zone. 
void chTMObjectInit(time_measurement_t *tmp)
Initializes a TimeMeasurement object. 
time_measurement_t m_crit_thd
Measurement of threads critical zones duration. 
ChibiOS/RT main include file. 
NOINLINE void chTMStopMeasurementX(time_measurement_t *tmp)
Stops a measurement. 
void _stats_stop_measure_crit_isr(void)
Stops the measurement of an ISR critical zone. 
Structure representing a thread.