Reset the clears table on zero size conditions

lifo_pps_ib
Tyler Goodlet 2022-06-22 18:54:23 -04:00
parent f9c4b3cc96
commit 566a54ffb6
1 changed files with 11 additions and 7 deletions

View File

@ -310,6 +310,10 @@ def update_pps(
cost=2*r.cost, cost=2*r.cost,
) )
if pp.size == 0:
pp.clears.clear()
else:
# track clearing data # track clearing data
pp.clears[r.tid] = { pp.clears[r.tid] = {
'cost': r.cost, 'cost': r.cost,