- Timestamp:
- 09/07/08 05:14:27 (3 months ago)
- Files:
-
- 1 modified
-
trunk/util/flashrom/udelay.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/util/flashrom/udelay.c
r2873 r3569 56 56 micro = count / timeusec; 57 57 58 printf_debug("%ldM loops per second. ", (unsigned long)micro); 58 gettimeofday(&start, 0); 59 myusec_delay(100); 60 gettimeofday(&end, 0); 61 timeusec = 1000000 * (end.tv_sec - start.tv_sec) + 62 (end.tv_usec - start.tv_usec); 63 printf_debug("%ldM loops per second, 100 myus = %ld us. ", 64 (unsigned long)micro, timeusec); 59 65 printf("OK.\n"); 60 66 }
