---
name: "latency-plot"
section: "1"
platform: "linux"
package: "linuxcnc-uspace"
version: "1:2.9.4-2+deb13u1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/latency-plot"
---

# latency-plot(1)

another way to view latency numbers

## NAME

latency-plot - another way to view latency numbers

## SYNOPSIS

**latency-plot** \[**-?\|--help**\] \[**-H\|--hal**\] \[**-b\|--base** ***nS***\] \[**-s\|--servo** ***nS***\] \[**-t\|--time** ***mS***\] \[**--relative**\] \[**--actual**\]

## DESCRIPTION

**latency-plot** makes a strip chart recording for a base and a servo thread. It may be useful to see spikes in latency when other applications are started or used. Mainly superseded by latency-histogram.

LinuxCNC and HAL should not be running, stop with *halrun -U*.

More details: https://linuxcnc.org/docs/html/install/latency-test.html

## OPTIONS

- **-?**, **--help**

  Show options and exit.

- **-H**, **--hal**

  - **-b**, **--base** ***nS***

  base thread interval, default: 25000

- **-s**, **--servo** ***nS***

  servo thread interval, default: 1000000

- **-t**, **--time** ***mS***

  report interval, default: 1000, min: 100, max: 10000

- **--relative**

  relative clock time (default)

- **--actual**

  actual clock time

## SEE ALSO

[**latency-histogram**(1)](/latency-histogram/1.md), [**latency-test**(1)](/latency-test/1.md), [**linuxcnc**(1)](/linuxcnc/1.md)

Much more information about LinuxCNC and HAL is available in the LinuxCNC and HAL User Manuals, found at */usr/share/doc/linuxcnc/*.

## BUGS

None known at this time.

## AUTHOR

This man page written by andypugh, as part of the LinuxCNC project.

## REPORTING BUGS

Report bugs at https://github.com/LinuxCNC/linuxcnc/issues

## COPYRIGHT

Copyright © 2020 andypugh.\
 This is free software; see the source for copying conditions.  There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
