Skip to content

Commit 3dadded

Browse files
committed
[bench-dma] Periodically check FIFOs' empty counter
1 parent 1afdc24 commit 3dadded

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/CommandLineUtilities/ProgramDmaBench.cxx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,10 @@ class ProgramDmaBench : public Program
421421
}
422422
}
423423

424+
// Intermittently check that the FIFOs are healthy
425+
// Will potentially log a warning as a side-effect
426+
mChannel->areSuperpageFifosHealthy();
427+
424428
next += LOW_PRIORITY_INTERVAL;
425429
std::this_thread::sleep_until(next);
426430
}

0 commit comments

Comments
 (0)