31 #if (CH_CFG_USE_TM == TRUE) || defined(__DOXYGEN__)    58   tmp->
last = (now - tmp->
last) - offset;
 rtcnt_t worst
Worst measurement. 
 
#define chSysGetRealtimeCounterX()
Returns the current value of the system real time counter. 
 
rtcnt_t best
Best measurement. 
 
void _tm_init(void)
Initializes the time measurement unit. 
 
Type of a Time Measurement object. 
 
#define NOINLINE
Makes functions not inlineable. 
 
rtcnt_t offset
Measurement calibration value. 
 
rtcnt_t last
Last measurement. 
 
rttime_t cumulative
Cumulative measurement. 
 
ch_system_t ch
System data structures. 
 
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. 
 
tm_calibration_t tm
Time measurement calibration data. 
 
NOINLINE void chTMStopMeasurementX(time_measurement_t *tmp)
Stops a measurement.