SSM

include/ssm-time.h

Go to the documentation of this file.
00001 
00013 #ifndef __SSM_TIME_H__
00014 #define __SSM_TIME_H__
00015 
00016 #include <unistd.h>
00017 #include <time.h>
00018 
00019 #ifdef __cplusplus
00020 extern "C"
00021 {
00022 #endif
00023 
00025 
00026 
00027     typedef double ssmTimeT;                    
00034     ssmTimeT gettimeSSM( void );
00035 
00040     ssmTimeT gettimeSSM_real( void );
00041 
00049     unsigned int sleepSSM( double sec );
00050     
00057     int usleepSSM( useconds_t usec );
00058 #if _POSIX_C_SOURCE >= 199309L
00059 
00066     int nanosleepSSM( const struct timespec *req, struct timespec *rem );
00067 #endif
00068 
00070 #ifdef __cplusplus
00071 }
00072 #endif
00073 
00074 #endif                                          /* __SSM_TIME_H__ */
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines