31 #if (CH_CFG_USE_TM == TRUE) || defined(__DOXYGEN__) 45 #if PORT_SUPPORTS_RT == FALSE 46 #error "CH_CFG_USE_TM requires PORT_SUPPORTS_RT" rtcnt_t worst
Worst measurement.
rtcnt_t best
Best measurement.
Type of a time measurement calibration data.
void _tm_init(void)
Initializes the time measurement unit.
Type of a Time Measurement object.
rtcnt_t offset
Measurement calibration value.
rtcnt_t last
Last measurement.
rttime_t cumulative
Cumulative measurement.
NOINLINE void chTMStartMeasurementX(time_measurement_t *tmp)
Starts a measurement.
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.
ucnt_t n
Number of measurements.
void chTMObjectInit(time_measurement_t *tmp)
Initializes a TimeMeasurement object.
NOINLINE void chTMStopMeasurementX(time_measurement_t *tmp)
Stops a measurement.