summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.cpp
diff options
context:
space:
mode:
authorStefan Radomski <sradomski@mintwerk.de>2016-01-10 02:39:24 (GMT)
committerStefan Radomski <sradomski@mintwerk.de>2016-01-10 02:39:24 (GMT)
commitc699a4057a65a9a09f78310d8e12588f2dc072cd (patch)
tree4525cd9418975a954e9a1c32faa6d5d8821fe499 /src/uscxml/Interpreter.cpp
parent9f4d810400550d1b98ab944cd96f937720eb6b0d (diff)
downloaduscxml-c699a4057a65a9a09f78310d8e12588f2dc072cd.zip
uscxml-c699a4057a65a9a09f78310d8e12588f2dc072cd.tar.gz
uscxml-c699a4057a65a9a09f78310d8e12588f2dc072cd.tar.bz2
Builds with MSVC again
Diffstat (limited to 'src/uscxml/Interpreter.cpp')
-rw-r--r--src/uscxml/Interpreter.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/uscxml/Interpreter.cpp b/src/uscxml/Interpreter.cpp
index 736a740..4e45599 100644
--- a/src/uscxml/Interpreter.cpp
+++ b/src/uscxml/Interpreter.cpp
@@ -57,12 +57,6 @@
# include "uscxml/interpreter/InterpreterRC.h"
#endif
-#ifdef BUILD_PROFILING
-#define TIME_BLOCK Measurement msm(&timer);
-#else
-#define TIME_BLOCK (0);
-#endif
-
#define VERBOSE 0
/// valid interpreter state transitions
@@ -778,7 +772,6 @@ NodeSet<std::string> InterpreterImpl::getDocumentInitialTransitions() {
}
InterpreterState InterpreterImpl::step(int waitForMS) {
- TIME_BLOCK
try {
tthread::lock_guard<tthread::recursive_mutex> lock(_mutex);
@@ -1369,9 +1362,6 @@ void InterpreterImpl::reset() {
_isInitialized = false;
_stable = false;
-#ifdef BUILD_PROFILING
- timer = Timer();
-#endif
_dataModel = DataModel();
setInterpreterState(USCXML_INSTANTIATED);
}