BloombergLP::bslmt::ThroughputBenchmark::ShutdownSampleFunction

Alias for a functor that shuts down a sample before threads are joined.

Synopsis

Declared in <bslmt_throughputbenchmark.h>

typedef bsl::function<void(bool)> ShutdownSampleFunction;

Description

An alias to a function meeting the following contract: ` /// Clean up at the end of the sample run, before threads have been /// joined. If the specified isLast is true, this is the last /// sample run. void shutdownSample(bool isLast); `