version 1.12 | | version 1.13 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.12 2005/07/15 13:51:49 ryo_saeba Exp $"; | | * "$Id: time.c,v 1.13 2005/12/05 23:34:03 akirschbaum Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
| | |
void | | void |
reset_sleep() | | reset_sleep(void) |
{ | | { |
int i; | | int i; |
for(i = 0; i < PBUFLEN; i++) | | for(i = 0; i < PBUFLEN; i++) |
| | |
*/ | | */ |
| | |
int | | int |
enough_elapsed_time() | | enough_elapsed_time(void) |
{ | | { |
static struct timeval new_time; | | static struct timeval new_time; |
long elapsed_utime; | | long elapsed_utime; |
| | |
*/ | | */ |
| | |
void | | void |
sleep_delta() | | sleep_delta(void) |
{ | | { |
static struct timeval new_time; | | static struct timeval new_time; |
long sleep_sec, sleep_usec; | | long sleep_sec, sleep_usec; |
| | |
} | | } |
| | |
long | | long |
seconds() | | seconds(void) |
{ | | { |
struct timeval now; | | struct timeval now; |
| | |