version 1.5 | | version 1.6 |
---|
| | |
/* | | /* |
* static char *rcsid_arch_c = | | * static char *rcsid_arch_c = |
* "$Id: arch.c,v 1.5 2001/02/24 09:23:04 tanner Exp $"; | | * "$Id: arch.c,v 1.6 2001/04/07 19:44:50 michtoen Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
clear_archetable(); | | clear_archetable(); |
LOG(llevDebug," arch-pass 1..."); | | LOG(llevDebug," arch-pass 1..."); |
#if TIME_ARCH_LOAD | | #if TIME_ARCH_LOAD |
gettimeofday(&tv1, NULL); | | GETTIMEOFDAY(&tv1); |
#endif | | #endif |
first_arch_pass(fp); | | first_arch_pass(fp); |
#if TIME_ARCH_LOAD | | #if TIME_ARCH_LOAD |
{ int sec, usec; | | { int sec, usec; |
gettimeofday(&tv2, NULL); | | GETTIMEOFDAY(&tv2);
|
sec = tv2.tv_sec - tv1.tv_sec; | | sec = tv2.tv_sec - tv1.tv_sec; |
usec = tv2.tv_usec - tv1.tv_usec; | | usec = tv2.tv_usec - tv1.tv_usec; |
if (usec<0) { usec +=1000000; sec--;} | | if (usec<0) { usec +=1000000; sec--;} |