Xenomai API  2.6.5

This file is part of the Xenomai project. More...

Include dependency graph for timer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rt_timer_info
 Structure containing timer-information useful to users. More...
 

Typedefs

typedef struct rt_timer_info RT_TIMER_INFO
 Structure containing timer-information useful to users. More...
 

Functions

SRTIME rt_timer_ns2tsc (SRTIME ns)
 Convert nanoseconds to local CPU clock ticks. More...
 
SRTIME rt_timer_tsc2ns (SRTIME ticks)
 Convert local CPU clock ticks to nanoseconds. More...
 
RTIME rt_timer_tsc (void)
 Return the current TSC value. More...
 
RTIME rt_timer_read (void)
 Return the current system time. More...
 
SRTIME rt_timer_ns2ticks (SRTIME ns)
 Convert nanoseconds to internal clock ticks. More...
 
SRTIME rt_timer_ticks2ns (SRTIME ticks)
 Convert internal clock ticks to nanoseconds. More...
 
int rt_timer_inquire (RT_TIMER_INFO *info)
 Inquire about the timer. More...
 
void rt_timer_spin (RTIME ns)
 Busy wait burning CPU cycles. More...
 
int rt_timer_set_mode (RTIME nstick)
 Set the system clock rate. More...
 

Detailed Description

This file is part of the Xenomai project.

Note
Copyright (C) 2004 Philippe Gerum rpm@x.nosp@m.enom.nosp@m.ai.or.nosp@m.g

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.