mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
gh-115168: Add pystats counter for invalidated executors (GH-115169)
This commit is contained in:
parent
96c10c6485
commit
b05afdd5ec
11 changed files with 31 additions and 14 deletions
|
@ -451,6 +451,7 @@ class Stats:
|
|||
inner_loop = self._data["Optimization inner loop"]
|
||||
recursive_call = self._data["Optimization recursive call"]
|
||||
low_confidence = self._data["Optimization low confidence"]
|
||||
executors_invalidated = self._data["Executors invalidated"]
|
||||
|
||||
return {
|
||||
Doc(
|
||||
|
@ -493,11 +494,19 @@ class Stats:
|
|||
"A trace is abandoned because the likelihood of the jump to top being taken "
|
||||
"is too low.",
|
||||
): (low_confidence, attempts),
|
||||
Doc(
|
||||
"Executors invalidated",
|
||||
"The number of executors that were invalidated due to watched "
|
||||
"dictionary changes.",
|
||||
): (executors_invalidated, created),
|
||||
Doc("Traces executed", "The number of traces that were executed"): (
|
||||
executed,
|
||||
None,
|
||||
),
|
||||
Doc("Uops executed", "The total number of uops (micro-operations) that were executed"): (
|
||||
Doc(
|
||||
"Uops executed",
|
||||
"The total number of uops (micro-operations) that were executed",
|
||||
): (
|
||||
uops,
|
||||
executed,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue