---
name: "clocktest"
section: "1"
platform: "linux"
package: "xenomai-runtime"
version: "2.6.3-2"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/clocktest"
---

# clocktest(1)

Xenomai Clock Test

## NAME

clocktest - Xenomai Clock Test

## SYNOPSIS

**clocktest** \[*OPTIONS*\]

## DESCRIPTION

**clocktest** is part of the Xenomai test suite and tests the Clock. For each CPU, it repeatedly prints a time offset (compared to the reference gettimeofday()), a drift value, the number of warps and the maximum warp in microseconds.

For this program to work, you need to run a suitable Xenomai enabled kernel with the respective module (xeno\_posix).

## OPTIONS

- **-C \<clock\_id\>**

  clock to be tested, default=0 (CLOCK\_REALTIME=0, CLOCK\_MONOTONIC=1, CLOCK\_HOST\_REALTIME=42)

- **-T \<test\_duration\_seconds\>**

  default=0 (Never stop, ^C to end)

- **-D**

  print extra diagnostics for CLOCK\_HOST\_REALTIME

## AUTHOR

**clocktest** was written by Jan Kiszka. This man page was written by Roland Stigge.
