summaryrefslogtreecommitdiff
path: root/src/Timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Timer.cpp')
-rw-r--r--src/Timer.cpp15
1 files changed, 12 insertions, 3 deletions
diff --git a/src/Timer.cpp b/src/Timer.cpp
index 8331b9a..24ec8e9 100644
--- a/src/Timer.cpp
+++ b/src/Timer.cpp
@@ -9,12 +9,16 @@
* Douglas M. Pase - initial API and implementation *
*******************************************************************************/
-#include <stdio.h>
-#include <sys/time.h>
+//
+// Configuration
+//
+// Implementation header
#include "Timer.h"
-#include "Types.h"
+// System includes
+#include <cstdio>
+#include <sys/time.h>
static int64 read_rtc();
static void calibrate_rtc(int n);
@@ -30,6 +34,11 @@ static double time_factor = -1;
#define RTC
#endif
+
+//
+// Implementation
+//
+
#if defined(RTC)
double Timer::seconds() {