'\" t
.\" Title: clocktest
.\" Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL Stylesheets v1.76.1
.\" Date: 2008/04/01
.\" Manual: Xenomai Manual
.\" Source: Xenomai 2.6.3
.\" Language: English
.\"
.TH "CLOCKTEST" "1" "2008/04/01" "Xenomai 2\&.6\&.3" "Xenomai Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
clocktest \- Xenomai Clock Test
.SH "SYNOPSIS"
.sp
\fBclocktest\fR [\fIOPTIONS\fR]
.SH "DESCRIPTION"
.sp
\fBclocktest\fR 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\&.
.sp
For this program to work, you need to run a suitable Xenomai enabled kernel with the respective module (xeno_posix)\&.
.SH "OPTIONS"
.PP
\fB\-C \fR
.RS 4
clock to be tested, default=0 (CLOCK_REALTIME=0, CLOCK_MONOTONIC=1, CLOCK_HOST_REALTIME=42)
.RE
.PP
\fB\-T \fR
.RS 4
default=0 (Never stop, ^C to end)
.RE
.PP
\fB\-D\fR
.RS 4
print extra diagnostics for CLOCK_HOST_REALTIME
.RE
.SH "AUTHOR"
.sp
\fBclocktest\fR was written by Jan Kiszka\&. This man page was written by Roland Stigge\&.