jstests/libs/profiler.js
/**
 * Throws an assertion if the profiler contains any entries matching "filter". Optional arguments
 * "errorMsgFilter" and "errorMsgProj" limit profiler output if this asserts.
 */
Throws an assertion if the profiler contains any entries matching "filter". Optional arguments
"errorMsgFilter" and "errorMsgProj" limit profiler output if this asserts.
Throws an assertion if the profiler contains any entries matching " filter " . Optional arguments " errorMsgFilter " and " errorMsgProj " limit profiler output if this asserts .
function profilerHasZeroMatchingEntriesOrThrow({profileDB, filter, errorMsgFilter, errorMsgProj}) {
    profilerHasNumMatchingEntriesOrThrow({
        profileDB: profileDB,
        filter: filter,
        numExpectedMatches: 0,
        errorMsgFilter: errorMsgFilter,
        errorMsgProj: errorMsgProj
    });
}
function profilerHasZeroMatchingEntriesOrThrow ( { profileDB , filter , errorMsgFilter , errorMsgProj } ) { profilerHasNumMatchingEntriesOrThrow ( { profileDB : profileDB , filter : filter , numExpectedMatches : 0 , errorMsgFilter : errorMsgFilter , errorMsgProj : errorMsgProj } ) ; }
Throws an assertion if the profiler contains any entries matching "filter".
Throws an assertion if the profiler contains any entries matching " filter " .