summaryrefslogtreecommitdiff
path: root/src/util/statistics_registry.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@cs.nyu.edu>2013-01-28 15:21:52 -0500
committerMorgan Deters <mdeters@cs.nyu.edu>2013-01-28 15:23:18 -0500
commit4d19bda6b8ac42b4800a2ccd01541e10b0bbef54 (patch)
tree0a6e209087ff1dfa584f93351d8e4fdd96d6e13b /src/util/statistics_registry.h
parent32b48a0265a416b577f83500a541c9673026e95c (diff)
Fixes for Win32 (closes bugs 488 and 489)
* timer statistics now supported (closes bug 488) * use of --mmap doesn't crash anymore (closes bug 489)
Diffstat (limited to 'src/util/statistics_registry.h')
-rw-r--r--src/util/statistics_registry.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/util/statistics_registry.h b/src/util/statistics_registry.h
index 32aa33bed..474abfea3 100644
--- a/src/util/statistics_registry.h
+++ b/src/util/statistics_registry.h
@@ -23,6 +23,7 @@
#include "util/statistics.h"
#include "util/exception.h"
+#include "lib/clock_gettime.h"
#include <sstream>
#include <iomanip>
@@ -612,8 +613,6 @@ public:
};/* class StatisticsRegistry */
-#ifndef __WIN32__
-
/****************************************************************************/
/* Some utility functions for timespec */
/****************************************************************************/
@@ -769,26 +768,6 @@ public:
};/* class TimerStat */
-#else /* __WIN32__ */
-
-class CodeTimer;
-
-class TimerStat : public IntStat {
-public:
-
- typedef CVC4::CodeTimer CodeTimer;
-
- TimerStat(const std::string& name) :
- IntStat(name, 0) {
- }
-
- void start();
- void stop();
-
-};/* class TimerStat */
-
-#endif /* __WIN32__ */
-
/**
* Utility class to make it easier to call stop() at the end of a
* code block. When constructed, it starts the timer. When
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback