The latency-test runs the following realtime component: http://git.linuxcnc.org/gitweb?p=emc2.git;a=blob;f=src/hal/components/timedelta.comp
Each time a realtime thread runs, the time interval del=(now-last) is computed. The minimum and maximum del ever seen are computed in min_ and max_. The jitter is the bigger of max_-period or period-min_. period is the promised realtime interval in nanoseconds, and rtapi_get_time() is the measured wall time also in nanoseconds. The timedelta component also measures long term error in 'err' and 'avg_err'. These values are not shown in the latency-test GUI but can be used to determine if there are long-term differences between expected and actual intervals. Jeff ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users