diff options
author | Dave Lee <davelee.com@gmail.com> | 2022-11-28 16:15:41 -0800 |
---|---|---|
committer | Dave Lee <davelee.com@gmail.com> | 2022-12-01 09:41:51 -0800 |
commit | e2a10d8ca34a3554d8d19d2bbdd3133970e4d09b (patch) | |
tree | 34941e6f0aaece88a02aefea6cb26dbb79bad689 /llvm/lib/CodeGen/CodeGen.cpp | |
parent | ef10f81985f665c553c818e1c5962aebb8f36f0c (diff) | |
download | llvm-e2a10d8ca34a3554d8d19d2bbdd3133970e4d09b.zip llvm-e2a10d8ca34a3554d8d19d2bbdd3133970e4d09b.tar.gz llvm-e2a10d8ca34a3554d8d19d2bbdd3133970e4d09b.tar.bz2 |
[lldb] Remove timer from Module::GetNumCompileUnits
`GetNumCompileUnits` has fast execution, and is high firing. Fast and frequent functions are not good candidates for timers. In a recent profile, `GetNumCompileUnits` was called >>10k times with an average duration of 1 microsecond.
Differential Revision: https://reviews.llvm.org/D138878
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions