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

Synopsis

Declared in <bslmt_throughputbenchmarkresult.h>

void
setThroughput(
    int threadGroupIndex,
    int threadIndex,
    int sampleIndex,
    double value);

Description

Set the throughput related to the specified threadIndex thread, in the specified threadGroupIndex, and the specified sampleIndex to the specified value. The behavior is undefined unless 0 <= value, 0 <= threadIndex < numThreads(threadGroupIndex), 0 <= threadGroupIndex < numThreadGroups(), and 0 <= sampleIndex < numSamples().

Parameters

Name

Description

threadGroupIndex

index of the thread group

threadIndex

index of the thread within the group

sampleIndex

index of the sample

value

throughput value to store

Created with MrDocs