BloombergLP::bslmt::ThroughputBenchmark::addThreadGroup

addThreadGroup overloads

Synopses

Declared in <bslmt_throughputbenchmark.h>

Create a set of threads that repeatedly execute a test function.

int
addThreadGroup(
    RunFunction const& runFunction,
    int numThreads,
    bsls::Types::Int64 busyWorkAmount);
» more...

Create a set of threads that repeatedly execute a test function with per-thread initialize and cleanup hooks.

int
addThreadGroup(
    RunFunction const& runFunction,
    int numThreads,
    bsls::Types::Int64 busyWorkAmount,
    InitializeThreadFunction const& initializeFunctor,
    CleanupThreadFunction const& cleanupFunctor);
» more...