Skip to content

Commit

Permalink
[BOLT] Set InferStaleProfile timer to TimeRewrite
Browse files Browse the repository at this point in the history
  • Loading branch information
shawy committed May 20, 2024
1 parent f18d852 commit dd55c7d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bolt/lib/Profile/StaleProfileMatching.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -707,8 +707,8 @@ void assignProfile(BinaryFunction &BF,
bool YAMLProfileReader::inferStaleProfile(
BinaryFunction &BF, const yaml::bolt::BinaryFunctionProfile &YamlBF) {

NamedRegionTimer T("inferStaleProfile", "inferring from stale profile",
"rewrite", "Rewrite passes", opts::InferStaleProfile);
NamedRegionTimer T("inferStaleProfile", "stale profile inference",
"rewrite", "Rewrite passes", opts::TimeRewrite);

if (!BF.hasCFG())
return false;
Expand Down

0 comments on commit dd55c7d

Please sign in to comment.