Changeset 3673 for trunk/stac/src/stac.c
- Timestamp:
- Apr 5, 2005, 5:59:11 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/stac/src/stac.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/stac/src/stac.c
r3667 r3673 5 5 #include <sys/time.h> 6 6 7 double getTime(void)8 /* Gets the current time. Got this from Nick Kaiser's fetchpix.c */9 {10 struct timeval tv;11 gettimeofday(&tv, NULL);12 return(tv.tv_sec + 1.e-6 * tv.tv_usec);13 }14 15 16 7 int main(int argc, char **argv) 17 8 { 18 19 9 double startTime = getTime(); 20 10
Note:
See TracChangeset
for help on using the changeset viewer.
