Quick Links: |
#include <bslmt_throughputbenchmark.h>
Public Member Functions | |
ThroughputBenchmark_WorkFunction (ThroughputBenchmark_WorkData &data) | |
~ThroughputBenchmark_WorkFunction () | |
void | operator() () |
This class is the work function functor, being called for each work thread.
See Component bslmt_throughputbenchmark
bslmt::ThroughputBenchmark_WorkFunction::ThroughputBenchmark_WorkFunction | ( | ThroughputBenchmark_WorkData & | data | ) | [explicit] |
Create a ThroughputBenchmark_WorkFunction
object with the specified data
argument.
bslmt::ThroughputBenchmark_WorkFunction::~ThroughputBenchmark_WorkFunction | ( | ) |
Destroy this object.
void bslmt::ThroughputBenchmark_WorkFunction::operator() | ( | ) |
Work function being run on the thread.