diff options
Diffstat (limited to 'src/uscxml/Interpreter.h')
-rw-r--r-- | src/uscxml/Interpreter.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/uscxml/Interpreter.h b/src/uscxml/Interpreter.h index 945f6f2..e442585 100644 --- a/src/uscxml/Interpreter.h +++ b/src/uscxml/Interpreter.h @@ -21,6 +21,7 @@ #define RUNTIME_H_SQ1MBKGN // this has to be the first include or MSVC will run amok +#include "uscxml/config.h" #include "uscxml/Common.h" #include <iostream> // arabica xpath uses cerr without iostream @@ -49,6 +50,10 @@ #include "uscxml/plugins/Invoker.h" #include "uscxml/plugins/ExecutableContent.h" +#ifdef BUILD_PROFILING +#include "uscxml/concurrency/Timer.h" +#endif + #define ERROR_PLATFORM_THROW(msg) \ Event e; \ e.name = "error.platform"; \ @@ -407,6 +412,10 @@ public: virtual void handleDOMEvent(Arabica::DOM::Events::Event<std::string>& event); +#ifdef BUILD_PROFILING + Timer timer; +#endif + protected: static void run(void*); // static method for thread to run |