Xenomai API  2.6.5
timebase.h File Reference
Include dependency graph for timebase.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int xntbase_alloc (const char *name, u_long period, u_long flags, xntbase_t **basep)
 Allocate a time base. More...
 
void xntbase_free (xntbase_t *base)
 Free a time base. More...
 
int xntbase_update (xntbase_t *base, u_long period)
 Change the period of a time base. More...
 
int xntbase_switch (const char *name, u_long period, xntbase_t **basep)
 Replace a time base. More...
 
void xntbase_start (xntbase_t *base)
 Start a time base. More...
 
void xntbase_stop (xntbase_t *base)
 Stop a time base. More...
 
void xntbase_tick (xntbase_t *base)
 Announce a clock tick to a time base. More...
 
xnticks_t xntbase_convert (xntbase_t *srcbase, xnticks_t ticks, xntbase_t *dstbase)
 Convert a clock value into another time base. More...
 
static xnticks_t xntbase_get_time (xntbase_t *base)
 Get the clock time for a given time base. More...
 
void xntbase_adjust_time (xntbase_t *base, xnsticks_t delta)
 Adjust the clock time for the system. More...
 

Detailed Description

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

Xenomai 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.

Xenomai 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 Xenomai; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.