summaryrefslogtreecommitdiffstats
path: root/src/uscxml/Interpreter.cpp
diff options
context:
space:
mode:
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);
}