BloombergLP::bslmt::ThroughputBenchmark_WorkFunction

This class is the work function functor, being called for each work thread.

Synopsis

Declared in <bslmt_throughputbenchmark.h>

class ThroughputBenchmark_WorkFunction;

Member Functions

NameDescription
ThroughputBenchmark_WorkFunction [constructor]Create a ThroughputBenchmark_WorkFunction object with the specified data argument.
operator() Work function being run on the thread.