Skip to content

Commit d09f48c

Browse files
committed
[bench-dma] Remove the page-reset option
1 parent 9422d99 commit d09f48c

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/CommandLineUtilities/ProgramDmaBench.cxx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,6 @@ class ProgramDmaBench : public Program
181181
options.add_options()("no-temperature",
182182
po::bool_switch(&mOptions.noTemperature),
183183
"No temperature readout");
184-
options.add_options()("page-reset",
185-
po::bool_switch(&mOptions.pageReset),
186-
"Reset page to default values after readout (slow)");
187184
options.add_options()("page-size",
188185
SuffixOption<size_t>::make(&mOptions.dmaPageSize)->default_value("8Ki"),
189186
"Card DMA page size");
@@ -694,11 +691,6 @@ class ProgramDmaBench : public Program
694691
}
695692
}
696693

697-
if (mOptions.pageReset) {
698-
// Set the buffer to the default value after the readout
699-
resetPage(pageAddress, pageSize);
700-
}
701-
702694
return pageSize;
703695
}
704696

@@ -1130,7 +1122,6 @@ class ProgramDmaBench : public Program
11301122
bool noErrorCheck = false;
11311123
bool noTemperature = false;
11321124
bool noDisplay = false;
1133-
bool pageReset = false;
11341125
bool noResyncCounter = false;
11351126
bool barHammer = false;
11361127
bool noRemovePagesFile = false;

0 commit comments

Comments
 (0)