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

Name

Description

threadGroupIndex

index of the thread group

threadIndex

index of the thread within the group

sampleIndex

index of the sample

Created with MrDocs