[#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 `threadGroupIdx`. The behavior is undefined unless `0 <= threadGroupIndex < numThreadGroups()`. == Synopsis Declared in `<bslmt_throughputbenchmarkresult.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int numThreads(int threadGroupIndex) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#