aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorDave Lee <davelee.com@gmail.com>2022-11-28 16:15:41 -0800
committerDave Lee <davelee.com@gmail.com>2022-12-01 09:41:51 -0800
commite2a10d8ca34a3554d8d19d2bbdd3133970e4d09b (patch)
tree34941e6f0aaece88a02aefea6cb26dbb79bad689 /llvm/lib/CodeGen/CodeGen.cpp
parentef10f81985f665c553c818e1c5962aebb8f36f0c (diff)
downloadllvm-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