BloombergLP::bslmt::ThroughputBenchmarkResult::numThreads

Return the number of threads in the specified threadGroupIndex.

Synopsis

Declared in <bslmt_throughputbenchmarkresult.h>

int
numThreads(int threadGroupIndex) const;

Description

The behavior is undefined unless 0 <= threadGroupIndex < numThreadGroups().

Return Value

number of threads in the specified thread group

Parameters

NameDescription
threadGroupIndexindex of the thread group