BloombergLP::bslmt::ThroughputBenchmarkResult::getMedian

Load the median throughput for the specified thread group.

Synopsis

Declared in <bslmt_throughputbenchmarkresult.h>

void
getMedian(
    double* median,
    int threadGroupIndex) const;

Description

Load into the specified median the median throughput (count / second) of the work done by all the threads in the specified threadGroupIndex. The behavior is undefined unless 0 <= threadGroupIndex < numThreadGroups.

Parameters

NameDescription
medianloadable median throughput
threadGroupIndexindex of the thread group