VirtualBox

Ignore:
Timestamp:
Feb 27, 2023 6:59:08 PM (2 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
156070
Message:

ValidationKit/{IoPerf,tdStorageBenchmark}: Don't report statistics of the IoPerf tool if requested in the testcase, some functionality tests would produce too many values for the maximum limit configured on the testmanager

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/utils/storage/IoPerf.cpp

    r98103 r98763  
    290290    { "--verify-reads",             'y',                            RTGETOPT_REQ_BOOL    },
    291291    { "--use-cache",                'c',                            RTGETOPT_REQ_BOOL    },
     292    { "--report-io-stats",          't',                            RTGETOPT_REQ_BOOL    },
    292293
    293294    { "--first-write",              kCmdOpt_FirstWrite,             RTGETOPT_REQ_NOTHING },
     
    336337/** Flag whether to verify read data. */
    337338static bool         g_fVerifyReads = true;
     339/** Flag whether to report I/O statistics after each test. */
     340static bool         g_fReportIoStats = true;
    338341
    339342/** @name Configured tests, this must match the IOPERFTEST order.
     
    897900         * otherwise.
    898901         */
    899         if (!pJob->pMaster)
     902        if (   !pJob->pMaster
     903            && g_fReportIoStats)
    900904            ioPerfJobStats(pJob);
    901905    }
     
    12791283                break;
    12801284
     1285            case 't':
     1286                g_fReportIoStats = ValueUnion.f;
     1287                break;
     1288
    12811289            case kCmdOpt_FirstWrite:
    12821290                g_aenmTests[IOPERFTEST_FIRST_WRITE] = IOPERFTEST_FIRST_WRITE;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette