@@ -35,10 +35,12 @@ QVariantMap HelperAdaptor::prepareBenchmarkFile(const QString &benchmarkFile, in
3535 return m_parentHelper->prepareBenchmarkFile (benchmarkFile, fileSize, fillZeros);
3636}
3737
38- QVariantMap HelperAdaptor::startBenchmarkTest (int measuringTime, int fileSize, int randomReadPercentage, bool fillZeros, bool cacheBypass,
38+ QVariantMap HelperAdaptor::startBenchmarkTest (int measuringTime, int fileSize, int randomReadPercentage, bool fillZeros, bool cacheBypass, bool continuousGeneration,
3939 int blockSize, int queueDepth, int threads, const QString &rw)
4040{
41- return m_parentHelper->startBenchmarkTest (measuringTime, fileSize, randomReadPercentage, fillZeros, cacheBypass, blockSize, queueDepth, threads, rw);
41+ return m_parentHelper->startBenchmarkTest (
42+ measuringTime, fileSize, randomReadPercentage, fillZeros, cacheBypass,
43+ continuousGeneration, blockSize, queueDepth, threads, rw);
4244}
4345
4446QVariantMap HelperAdaptor::flushPageCache ()
@@ -203,7 +205,7 @@ QVariantMap Helper::prepareBenchmarkFile(const QString &benchmarkPath, int fileS
203205 return {{" success" , true }};
204206}
205207
206- QVariantMap Helper::startBenchmarkTest (int measuringTime, int fileSize, int randomReadPercentage, bool fillZeros, bool cacheBypass,
208+ QVariantMap Helper::startBenchmarkTest (int measuringTime, int fileSize, int randomReadPercentage, bool fillZeros, bool cacheBypass, bool continuousGeneration,
207209 int blockSize, int queueDepth, int threads, const QString &rw)
208210{
209211 if (!isCallerAuthorized ()) {
@@ -219,7 +221,7 @@ QVariantMap Helper::startBenchmarkTest(int measuringTime, int fileSize, int rand
219221 << QStringLiteral (" --output-format=json" )
220222 << QStringLiteral (" --ioengine=libaio" )
221223 << QStringLiteral (" --randrepeat=0" )
222- << QStringLiteral (" --refill_buffers" )
224+ << QStringLiteral (" --refill_buffers=%1 " ). arg (continuousGeneration )
223225 << QStringLiteral (" --end_fsync=1" )
224226 << QStringLiteral (" --direct=%1" ).arg (cacheBypass)
225227 << QStringLiteral (" --rwmixread=%1" ).arg (randomReadPercentage)
0 commit comments