[#BloombergLP-bslmt-ThroughputBenchmark-numThreads]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThroughputBenchmark.adoc[ThroughputBenchmark]::numThreads
:relfileprefix: ../../../
:mrdocs:

Return the total number of threads&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;throughputbenchmark&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
numThreads() const;
----

== Return Value

total number of threads across all thread groups


[.small]#Created with https://www.mrdocs.com[MrDocs]#
