Scroll to navigation

TIMEDELTA(9) HAL Component TIMEDELTA(9)

NAME

timedelta - LinuxCNC HAL component that measures thread scheduling timing behavior

SYNOPSIS

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

FUNCTIONS

PINS

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.
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.
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.
Minimum time (in ns) between sequential runs of this component.
Maximum time (in ns) between sequential runs of this component.
Set this pin to True, then back to False, to reset some of the statistics.
Time (in ns) since the previous run of this component. This should ideally be equal to the thread period.
Cumulative time error (in ns). Probably not useful.
The average scheduling error (in ns).

AUTHOR

Jeff Epler

LICENSE

GPL

2024-07-13 LinuxCNC Documentation