BloombergLP::bslmt::ThroughputBenchmarkResult::getValue

Return the throughput for the given thread, group, and sample.

Synopsis

Declared in <bslmt_throughputbenchmarkresult.h>

double
getValue(
    int threadGroupIndex,
    int threadIndex,
    int sampleIndex) const;

Description

Return the throughput of work done on the specified threadIndex thread, in the specified threadGroupIndex, and the specified sampleIndex sample. The behavior is undefined unless 0 <= threadIndex < numThreads(threadGroupIndex), 0 <= threadGroupIndex < numThreadGroups(), and 0 <= sampleIndex < numSamples().

Return Value

throughput for the given thread, group, and sample

Parameters

NameDescription
threadGroupIndexindex of the thread group
threadIndexindex of the thread within the group
sampleIndexindex of the sample