comparison base/RealTime.cpp @ 150:4b2ea82fd0ed

* Reorganising code base. This revision probably should compile once more.
author Chris Cannam
date Mon, 31 Jul 2006 14:05:22 +0000
parents 7c3e1bc51080
children 146eb9e35baa
comparison
equal deleted inserted replaced
149:3e4c384f518e 150:4b2ea82fd0ed
28 #endif 28 #endif
29 29
30 using std::cerr; 30 using std::cerr;
31 using std::endl; 31 using std::endl;
32 32
33 #include "base/RealTime.h" 33 #include "RealTime.h"
34 #include "sys/time.h" 34 #include "sys/time.h"
35 35
36 // A RealTime consists of two ints that must be at least 32 bits each. 36 // A RealTime consists of two ints that must be at least 32 bits each.
37 // A signed 32-bit int can store values exceeding +/- 2 billion. This 37 // A signed 32-bit int can store values exceeding +/- 2 billion. This
38 // means we can safely use our lower int for nanoseconds, as there are 38 // means we can safely use our lower int for nanoseconds, as there are