[#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: ` /// Run the main part of the benchmark having the specified /// `threadIndex`. The behavior is undefined unless `threadIndex` is /// in the range `[0, numThreadsInGroup)]`, where `numThreadsInGroup` is /// the number of threads in a thread group for the associated /// throughput benchmark. void runTest(int threadIndex); ` == Synopsis Declared in `<bslmt_throughputbenchmark.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- typedef xref:bsl/function-0a.adoc[bsl::function<void(int)>] RunFunction; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#