gh-112320: Implement on-trace confidence tracking for branches (#112321)
We track the confidence as a scaled int.
This commit is contained in:
@@ -386,6 +386,7 @@ class Stats:
|
||||
trace_too_short = self._data["Optimization trace too short"]
|
||||
inner_loop = self._data["Optimization inner loop"]
|
||||
recursive_call = self._data["Optimization recursive call"]
|
||||
low_confidence = self._data["Optimization low confidence"]
|
||||
|
||||
return {
|
||||
"Optimization attempts": (attempts, None),
|
||||
@@ -396,6 +397,7 @@ class Stats:
|
||||
"Trace too short": (trace_too_short, attempts),
|
||||
"Inner loop found": (inner_loop, attempts),
|
||||
"Recursive call": (recursive_call, attempts),
|
||||
"Low confidence": (low_confidence, attempts),
|
||||
"Traces executed": (executed, None),
|
||||
"Uops executed": (uops, executed),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user