summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2011-06-18 23:52:14 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2011-06-18 23:52:14 +0000
commitba23ca085f56006a82b84ce76beaa6edc7496d48 (patch)
tree60b8a92c329736c02db30022ac8a261d08112091 /lldb/source/Plugins/Process/Utility/UnwindLLDB.cpp
parent07037364cd0aa8c43b9069e3c9f8b16389ce5300 (diff)
downloadbcm5719-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.cpp6
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
OpenPOWER on IntegriCloud