Skip to content

Commit 0ab4226

Browse files
committed
[bench-dma] Fix TimeFrame check bug
1 parent 3366c92 commit 0ab4226

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CommandLineUtilities/ProgramDmaBench.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ class ProgramDmaBench : public Program
742742
mPacketCounters[linkId] = packetCounter; // same as = (mPacketCounters + mErrorCheckFrequency) % mMaxRdhPacketCounter
743743
}
744744

745-
if (!checkTimeFrameAlignment(pageAddress, atStartOfSuperpage)) {
745+
if (mTimeFrameCheckEnabled && !checkTimeFrameAlignment(pageAddress, atStartOfSuperpage)) {
746746
// log TF not at the beginning of the superpage error
747747
mErrorCount++;
748748
if (mErrorCount < MAX_RECORDED_ERRORS) {

0 commit comments

Comments
 (0)