summaryrefslogtreecommitdiff
path: root/indra/llcommon/llfasttimer_class.h
diff options
context:
space:
mode:
authorprep <prep@lindenlab.com>2011-01-05 14:10:18 -0500
committerprep <prep@lindenlab.com>2011-01-05 14:10:18 -0500
commitdfddccd65da32ac2c11c9106c3995a3281d7c30d (patch)
tree6481fec537385700f475b5ec68a5c57a64061de7 /indra/llcommon/llfasttimer_class.h
parentc20f9342b9632c4e5480faa5d4e6be26c75e1157 (diff)
parentb70a8ee0daf1145d364dbcbed1e54df197b9f7fc (diff)
merge
Diffstat (limited to 'indra/llcommon/llfasttimer_class.h')
-rw-r--r--indra/llcommon/llfasttimer_class.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llcommon/llfasttimer_class.h b/indra/llcommon/llfasttimer_class.h
index 038a2d246a..827747f0c6 100644
--- a/indra/llcommon/llfasttimer_class.h
+++ b/indra/llcommon/llfasttimer_class.h
@@ -180,8 +180,10 @@ public:
sTimerCycles += timer_end - timer_start;
#endif
#if DEBUG_FAST_TIMER_THREADS
+#if !LL_RELEASE
assert_main_thread();
#endif
+#endif
}
LL_FORCE_INLINE ~LLFastTimer()
@@ -251,6 +253,7 @@ public:
U32 mChildTime;
};
static CurTimerData sCurTimerData;
+ static std::string sClockType;
private:
static U32 getCPUClockCount32();