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

An alias to a function meeting the following contract&colon; &grave; &sol;&sol;&sol; Run the main part of the benchmark having the specified &sol;&sol;&sol; `threadIndex`&period; The behavior is undefined unless `threadIndex` is &sol;&sol;&sol; in the range `&lsqb;0, numThreadsInGroup)&rsqb;`, where `numThreadsInGroup` is &sol;&sol;&sol; the number of threads in a thread group for the associated &sol;&sol;&sol; throughput benchmark&period; void runTest(int threadIndex)&semi; &grave;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
typedef xref:bsl/function-0a.adoc[bsl::function&lt;void(int)&gt;] RunFunction;
----


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