Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

_timer.h

Go to the documentation of this file.
00001 
00002 #ifndef _TIMER_H
00003 #define _TIMER_H
00004 
00005 #include "rcs_defs.hh"          /* RCS_EXPORT */
00006 
00007 /* Useful time routines */
00008 
00009 #if defined(__CPLUSPLUS__) || defined(__cplusplus)
00010 extern "C"
00011 {
00012 #endif
00013 /* clock tick resolution, in seconds */
00014   extern double clk_tck (void);
00015 
00016 /* number of seconds from standard epoch, to clock tick resolution */
00017   extern double RCS_EXPORT etime (void);
00018 
00019 /* sleeps # of seconds, to clock tick resolution */
00020   extern void RCS_EXPORT esleep (double secs);
00021 
00022 
00023   void start_timer_server (int priority, int sem_id);
00024   void kill_timer_server (void);
00025 
00026 #ifdef VXWORKS
00027   int covertSecondsToTicks (double secs);
00028 #endif
00029 
00030   extern void print_etime (void);
00031 
00032 #if defined(__CPLUSPLUS__) || defined(__cplusplus)
00033 }
00034 #endif
00035 
00036 extern int etime_disabled;
00037 extern double etime_disable_time;
00038 extern int esleep_use_yield;
00039 
00040 #endif

Generated on Sun Dec 2 15:56:48 2001 for rcslib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001