Changeset 2258 for trunk/src/MathUtils.cpp
- Timestamp:
- 08/01/11 15:08:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/MathUtils.cpp
r2186 r2258 44 44 #include <scimath/Mathematics/AutoDiff.h> 45 45 46 #include <ctime> 47 #include <sys/time.h> 46 48 47 49 #include "MathUtils.h" … … 287 289 fend = -1; 288 290 } 289 } 291 292 } 293 294 double mathutil::gettimeofday_sec() 295 { 296 struct timeval tv ; 297 gettimeofday( &tv, NULL ) ; 298 return tv.tv_sec + (double)tv.tv_usec*1.0e-6 ; 299 }
Note: See TracChangeset
for help on using the changeset viewer.