version 1.5 | | version 1.6 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.5 2001/04/06 19:07:54 michtoen Exp $"; | | * "$Id: time.c,v 1.6 2001/04/09 06:59:46 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
long pticks; | | long pticks; |
long process_utime_long_count; | | long process_utime_long_count; |
| | |
/* 0.94.1 - change to GETTIMEOFDAY macro - SNI systems only one one option. | | |
* rather than have complex #ifdefs throughout the file, lets just figure | | |
* it out once, here at the top. | | |
* Have no idea if that is the right symbol to check on for NetBSD, | | |
* but NetBSD does use 2 params. | | |
*/ | | |
| | |
#ifdef GETTIMEOFDAY_TWO_ARGS | | |
#define GETTIMEOFDAY(last_time) gettimeofday(last_time, (struct timezone *) NULL); | | |
#else | | |
#define GETTIMEOFDAY(last_time) gettimeofday(last_time); | | |
#endif | | |
| | |
/* | | /* |
* Initialise all variables used in the timing routines. | | * Initialise all variables used in the timing routines. |
*/ | | */ |