2
wrapps calls to usleep, gettimeofday,...
3
Copyright (C) 2000 Martin Vogt
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU Library General Public License as published by
7
the Free Software Foundation.
9
For more information look at the file COPYRIGHT in this package
14
#ifndef __TIMEWRAPPER_H
15
#define __TIMEWRAPPER_H
19
#include <sys/timeb.h>
28
typedef struct timeval_s {
29
long tv_sec; /* seconds */
30
long tv_usec; /* microseconds */
38
static void sleep(int sec);
39
static void usleep(unsigned long usec);
40
static void usleep(timeval_t* time);
41
static void gettimeofday(timeval_t* time);