17 #include <tbb/spin_mutex.h>
27 typedef ULONG64 TimeStamp;
29 typedef ULONG64 Duration;
31 typedef int TimeStamp;
41 Context& operator[](std::string text);
43 void add(Duration time);
46 typedef tbb::spin_mutex
Mutex;
47 mutable Mutex myMutex;
49 typedef std::map<std::string, Context> Map;
53 explicit DtPerformanceMonitor(
Context&);
54 explicit DtPerformanceMonitor(
const std::string& label,
Context* = 0);
56 ~DtPerformanceMonitor();
63 TimeStamp myStartTime;
66 #define DtPERFORMANCE_CONTEXT(text) \
67 static DtPerformanceMonitor::Context& thePerfContext \
68 = DtPerformanceMonitor::Context::Root()[text]; \
69 DtPerformanceMonitor performanceMonitor(thePerfContext);
Definition: vrfObjectManipulationHandlerBaseClass.h:47
OpenThreads::Mutex Mutex
Definition: DtOsgThreadingUtils.h:12
#define DT_DLL_vrfutil
This file is used to determine how to build Disable inconsistent dll linkage warning Visual Studio 6...
Definition: vrfutilDefines.h:34