LinuxCNC Documentation

SYNOPSIS

loadrt timedelta [count=N|names=name1[,name2…​]]

FUNCTIONS

timedelta.N

PINS

timedelta.N.jitter sint out (default: 0)

Worst-case scheduling error (in ns). This is the largest discrepancy between ideal thread period, and actual time between sequential runs of this component. This uses the absolute value of the error, so got run too early and got run too late both show up as positive jitter.

timedelta.N.current-jitter sint out (default: 0)

Scheduling error (in ns) of the current invocation. This is the discrepancy between ideal thread period, and actual time since the previous run of this component. This uses the absolute value of the error, so got run too early and got run too late both show up as positive jitter.

timedelta.N.current-error sint out (default: 0)

Scheduling error (in ns) of the current invocation. This is the discrepancy between ideal thread period, and actual time since the previous run of this component. This does not use the absolute value of the error, so got run too early shows up as negative error and got run too late shows up as positive error.

timedelta.N.min- sint out (default: 0)

Minimum time (in ns) between sequential runs of this component.

timedelta.N.max- sint out (default: 0)

Maximum time (in ns) between sequential runs of this component.

timedelta.N.reset bool in

Set this pin to True, then back to False, to reset some of the statistics.

timedelta.N.out sint out

Time (in ns) since the previous run of this component. This should ideally be equal to the thread period.

timedelta.N.err sint out (default: 0)

Cumulative time error (in ns). Probably not useful.

timedelta.N.avg-err real out (default: 0)

The average scheduling error (in ns).

AUTHOR

Jeff Epler

LICENSE

GPL