stats: Wait for increments to drain before checking counters

Signed-off-by: Alex Forencich <alex@alexforencich.com>
This commit is contained in:
Alex Forencich
2026-08-15 14:49:26 -07:00
parent 3aea897d9e
commit 9f3685fa01

View File

@@ -144,6 +144,7 @@ async def run_stress_test(dut, idle_inserter=None, backpressure_inserter=None):
while workers:
await workers.pop(0).join()
await tb.stat_source.wait()
await Timer(1000, 'ns')
data_ref = [0]*2**stat_id_width