[Emc-users] latency calculation

2010-06-11 Thread ferdi andika
I need know how to calculate latency in EMC2's latency-test. could anyone tell me the latency test's algorithm? -- ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE

Re: [Emc-users] latency calculation

2010-06-11 Thread Jeff Epler
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