Pyrogenesis  13997
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Enumerations | Functions
wtime.h File Reference

Go to the source code of this file.

Classes

struct  timespec
 

Typedefs

typedef unsigned long useconds_t
 
typedef long suseconds_t
 

Enumerations

enum  clockid_t { CLOCK_REALTIME, CLOCK_MONOTONIC }
 

Functions

LIB_API unsigned sleep (unsigned sec)
 
LIB_API int usleep (useconds_t us)
 
int nanosleep (const struct timespec *rqtp, struct timespec *rmtp)
 
int clock_gettime (clockid_t clock, struct timespec *ts)
 
int clock_getres (clockid_t clock, struct timespec *res)
 
LIB_API char * strptime (const char *buf, const char *format, struct tm *timeptr)
 

Typedef Documentation

typedef long suseconds_t

Definition at line 36 of file wtime.h.

typedef unsigned long useconds_t

Definition at line 35 of file wtime.h.

Enumeration Type Documentation

enum clockid_t
Enumerator
CLOCK_REALTIME 
CLOCK_MONOTONIC 

Definition at line 51 of file wtime.h.

Function Documentation

int clock_getres ( clockid_t  clock,
struct timespec res 
)

Definition at line 131 of file wtime.cpp.

int clock_gettime ( clockid_t  clock,
struct timespec ts 
)

Definition at line 121 of file wtime.cpp.

int nanosleep ( const struct timespec rqtp,
struct timespec rmtp 
)

Definition at line 142 of file wtime.cpp.

LIB_API unsigned sleep ( unsigned  sec)

Definition at line 151 of file wtime.cpp.

LIB_API char* strptime ( const char *  buf,
const char *  format,
struct tm *  timeptr 
)

Definition at line 377 of file wtime.cpp.

LIB_API int usleep ( useconds_t  us)

Definition at line 164 of file wtime.cpp.