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