diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2011-06-18 23:52:14 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2011-06-18 23:52:14 +0000 |
commit | ba23ca085f56006a82b84ce76beaa6edc7496d48 (patch) | |
tree | 60b8a92c329736c02db30022ac8a261d08112091 /lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp | |
parent | 07037364cd0aa8c43b9069e3c9f8b16389ce5300 (diff) | |
download | bcm5719-llvm-ba23ca085f56006a82b84ce76beaa6edc7496d48.tar.gz bcm5719-llvm-ba23ca085f56006a82b84ce76beaa6edc7496d48.zip |
Switch from USEC_PER_SEC/NSEC_PER_SEC/NSEC_PER_USEC to TimeValue constants
Fixes the Linux build.
llvm-svn: 133370
Diffstat (limited to 'lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp')
-rw-r--r-- | lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp b/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp index 39b4522daaa..4ed69e85387 100644 --- a/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp +++ b/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp @@ -53,9 +53,9 @@ UnwindLLDB::GetFrameCount() uint64_t delta_t = now - time_value; printf ("%u frames in %llu.%09llu ms (%g frames/sec)\n", FRAME_COUNT, - delta_t / NSEC_PER_SEC, - delta_t % NSEC_PER_SEC, - (float)FRAME_COUNT / ((float)delta_t / (float)NSEC_PER_SEC)); + delta_t / TimeValue::NanoSecPerSec, + delta_t % TimeValue::NanoSecPerSec, + (float)FRAME_COUNT / ((float)delta_t / (float)TimeValue::NanoSecPerSec)); time_value = now; } #endif |