Go to the documentation of this file.
31 #if (CH_DBG_STATISTICS == TRUE) || defined(__DOXYGEN__)
#define currcore
Access to current core's instance structure.
static void port_unlock_from_isr(void)
Kernel-unlock action from an interrupt handler.
void __stats_ctxswc(thread_t *ntp, thread_t *otp)
Updates context switch related statistics.
void __stats_stop_measure_crit_isr(void)
Stops the measurement of an ISR critical zone.
Structure representing a thread.
void __stats_stop_measure_crit_thd(void)
Stops the measurement of a thread critical zone.
static void port_lock_from_isr(void)
Kernel-lock action from an interrupt handler.
time_measurement_t stats
Thread statistics.
NOINLINE void chTMStopMeasurementX(time_measurement_t *tmp)
Stops a measurement.
void __stats_start_measure_crit_thd(void)
Starts the measurement of a thread critical zone.
void __stats_start_measure_crit_isr(void)
Starts the measurement of an ISR critical zone.
void __stats_increase_irq(void)
Increases the IRQ counter.
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.
NOINLINE void chTMStartMeasurementX(time_measurement_t *tmp)
Starts a measurement.