diff options
author | Baker Linden <baker@lindenlab.com> | 2014-05-08 14:00:55 -0700 |
---|---|---|
committer | Baker Linden <baker@lindenlab.com> | 2014-05-08 14:00:55 -0700 |
commit | 37bfd025aeef7292abb1708577eee80b6e1b91d5 (patch) | |
tree | 3dab7c728f3a4b67eae30cbbf838dec8747c5e6e /indra/llcommon/tests/lldeadmantimer_test.cpp | |
parent | 1cf659d4481983684c4d5d749d95d56832dbc621 (diff) | |
parent | d0ef02c23a7a37c8c9bfe3a86bae88bb811fc9fe (diff) |
viewer-release merge (to 3.7.8)
Diffstat (limited to 'indra/llcommon/tests/lldeadmantimer_test.cpp')
-rw-r--r-- | indra/llcommon/tests/lldeadmantimer_test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/llcommon/tests/lldeadmantimer_test.cpp b/indra/llcommon/tests/lldeadmantimer_test.cpp index 7fd2dde6e0..23167762c3 100644 --- a/indra/llcommon/tests/lldeadmantimer_test.cpp +++ b/indra/llcommon/tests/lldeadmantimer_test.cpp @@ -37,12 +37,12 @@ static LLDeadmanTimer::time_type float_time_to_u64(F64 delta) { - return LLDeadmanTimer::time_type(delta * gClockFrequency); + return LLDeadmanTimer::time_type(delta * get_timer_info().mClockFrequency); } static F64 u64_time_to_float(LLDeadmanTimer::time_type delta) { - return delta * gClockFrequencyInv; + return delta * get_timer_info().mClockFrequencyInv; } @@ -54,7 +54,7 @@ struct deadmantimer_test deadmantimer_test() { // LLTimer internals updating - update_clock_frequencies(); + get_timer_info().update(); } }; |