User Tools

Site Tools


for_developers:timing_measurement

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
for_developers:timing_measurement [2016/08/17 11:10] – [How the timer works] gehrigfor_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 //Execurot.cpp//:
 +<code cpp>
 +...
 +loop {
 +    counter.tick();
 +    //code under test (list.run();)
 +    counter.tock();
 +}
 +...
 +</code>
  
 ===== Influence of the measurement on the real time performance of the system ===== ===== Influence of the measurement on the real time performance of the system =====