for_developers:timing_measurement
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
for_developers:timing_measurement [2016/08/17 11:10] – [How the timer works] gehrig | for_developers:timing_measurement [2016/09/13 14:03] – [How the timer works] gehrig | ||
---|---|---|---|
Line 7: | Line 7: | ||
* jitter: |actual period - set period| | * jitter: |actual period - set period| | ||
Of these three measurements the minimal value, maximal value, mean value and the variance are calculated. | Of these three measurements the minimal value, maximal value, mean value and the variance are calculated. | ||
+ | |||
+ | Implementation in // | ||
+ | <code cpp> | ||
+ | ... | ||
+ | loop { | ||
+ | counter.tick(); | ||
+ | //code under test (list.run(); | ||
+ | counter.tock(); | ||
+ | } | ||
+ | ... | ||
+ | </ | ||
===== Influence of the measurement on the real time performance of the system ===== | ===== Influence of the measurement on the real time performance of the system ===== |