diff options
Diffstat (limited to 'src/uscxml/debug/Benchmark.h')
-rw-r--r-- | src/uscxml/debug/Benchmark.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/uscxml/debug/Benchmark.h b/src/uscxml/debug/Benchmark.h index 82ef583..6548ff8 100644 --- a/src/uscxml/debug/Benchmark.h +++ b/src/uscxml/debug/Benchmark.h @@ -34,12 +34,12 @@ class USCXML_API Benchmark { public: Benchmark(const std::string& domain); ~Benchmark(); - - static std::ostream& report(std::ostream& stream); + + static std::ostream& report(std::ostream& stream); protected: - std::string domain; - std::chrono::time_point<std::chrono::system_clock> started; - + std::string domain; + std::chrono::time_point<std::chrono::system_clock> started; + static std::map<std::string, size_t> benchmarks; static std::mutex benchMutex; }; |