31#if (CH_CFG_USE_TM == TRUE) || defined(__DOXYGEN__)
58 tmp->
last = (now - tmp->
last) - offset;
ChibiOS/RT main include file.
#define chSysGetRealtimeCounterX()
Returns the current value of the system real time 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.
static void tm_stop(time_measurement_t *tmp, rtcnt_t now, rtcnt_t offset)
void chTMObjectInit(time_measurement_t *tmp)
Initializes a TimeMeasurement object.
NOINLINE void chTMStopMeasurementX(time_measurement_t *tmp)
Stops a measurement.
NOINLINE void chTMStartMeasurementX(time_measurement_t *tmp)
Starts a measurement.
Type of system data structure.
tm_calibration_t tmc
Time measurement calibration data.
Type of a Time Measurement object.
rtcnt_t best
Best measurement.
ucnt_t n
Number of measurements.
rttime_t cumulative
Cumulative measurement.
rtcnt_t last
Last measurement.
rtcnt_t worst
Worst measurement.
rtcnt_t offset
Measurement calibration value.