[#BloombergLP-bslmt-ThroughputBenchmark_WorkFunction] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::ThroughputBenchmark_WorkFunction :relfileprefix: ../../ :mrdocs: This class is the work function functor, being called for each work thread. == Synopsis Declared in `<bslmt_throughputbenchmark.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class ThroughputBenchmark_WorkFunction; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/bslmt/ThroughputBenchmark_WorkFunction/2constructor.adoc[`ThroughputBenchmark_WorkFunction`] [.small]#[constructor]# | Create a `ThroughputBenchmark_WorkFunction` object with the specified `data` argument. | xref:BloombergLP/bslmt/ThroughputBenchmark_WorkFunction/operator_call.adoc[`operator()`] | Work function being run on the thread. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#