[#BloombergLP-bslmt-ThroughputBenchmarkResult-numThreads] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThroughputBenchmarkResult.adoc[ThroughputBenchmarkResult]::numThreads :relfileprefix: ../../../ :mrdocs: Return the number of threads in the specified `threadGroupIndex`. == Synopsis Declared in `<bslmt_throughputbenchmarkresult.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | *threadGroupIndex* | index of the thread group |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#