[llvm] [BOLT] Add NamedRegionTimer to inferStaleProfile (PR #92621)

Amir Ayupov via llvm-commits llvm-commits at lists.llvm.org
Mon May 20 10:01:01 PDT 2024


================
@@ -705,6 +706,10 @@ void assignProfile(BinaryFunction &BF,
 
 bool YAMLProfileReader::inferStaleProfile(
     BinaryFunction &BF, const yaml::bolt::BinaryFunctionProfile &YamlBF) {
+
+  NamedRegionTimer T("inferStaleProfile", "inferring from stale profile",
----------------
aaupov wrote:

```suggestion
  NamedRegionTimer T("inferStaleProfile", "stale profile inference",
```

https://github.com/llvm/llvm-project/pull/92621


More information about the llvm-commits mailing list