]> granicus.if.org Git - llvm/commit
Display relative hotness with two decimal digits after the decimal point
authorAdam Nemet <anemet@apple.com>
Fri, 29 Sep 2017 16:56:54 +0000 (16:56 +0000)
committerAdam Nemet <anemet@apple.com>
Fri, 29 Sep 2017 16:56:54 +0000 (16:56 +0000)
commit94e8fbe9e8a69b48bec6435d2711f857ee31bd3d
treef1c1d3bf76c1e864c20a7706d5ca7f82fa734b13
parent4d726914b00e5175ebe2de4a438bce661cf0d487
Display relative hotness with two decimal digits after the decimal point

I've seen cases where tiny inlined functions have such a high execution count
that most everything would show up with a relative of hotness of 0%.  Since
the inlined functions effectively disappear you need to tune in the lower
range, thus we need more precision.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314537 91177308-0d34-0410-b5e6-96231b3b80d8
tools/opt-viewer/optrecord.py