Changeset 98763 in vbox for trunk/src/VBox/ValidationKit/utils
- Timestamp:
- Feb 27, 2023 6:59:08 PM (2 years ago)
- svn:sync-xref-src-repo-rev:
- 156070
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/utils/storage/IoPerf.cpp
r98103 r98763 290 290 { "--verify-reads", 'y', RTGETOPT_REQ_BOOL }, 291 291 { "--use-cache", 'c', RTGETOPT_REQ_BOOL }, 292 { "--report-io-stats", 't', RTGETOPT_REQ_BOOL }, 292 293 293 294 { "--first-write", kCmdOpt_FirstWrite, RTGETOPT_REQ_NOTHING }, … … 336 337 /** Flag whether to verify read data. */ 337 338 static bool g_fVerifyReads = true; 339 /** Flag whether to report I/O statistics after each test. */ 340 static bool g_fReportIoStats = true; 338 341 339 342 /** @name Configured tests, this must match the IOPERFTEST order. … … 897 900 * otherwise. 898 901 */ 899 if (!pJob->pMaster) 902 if ( !pJob->pMaster 903 && g_fReportIoStats) 900 904 ioPerfJobStats(pJob); 901 905 } … … 1279 1283 break; 1280 1284 1285 case 't': 1286 g_fReportIoStats = ValueUnion.f; 1287 break; 1288 1281 1289 case kCmdOpt_FirstWrite: 1282 1290 g_aenmTests[IOPERFTEST_FIRST_WRITE] = IOPERFTEST_FIRST_WRITE;
Note:
See TracChangeset
for help on using the changeset viewer.