Alias for the per‐thread function executed during a benchmark sample.

Synopsis

Declared in <bslmt_throughputbenchmark.h>

typedef bsl::function<void(int)> RunFunction;

Description

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); `

Created with MrDocs