[#BloombergLP-bslmt-ThroughputBenchmark_WorkFunction]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::ThroughputBenchmark&lowbar;WorkFunction
:relfileprefix: ../../
:mrdocs:

This class is the work function functor, being called for each work thread&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;throughputbenchmark&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
class ThroughputBenchmark&lowbar;WorkFunction;
----

== Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmt/ThroughputBenchmark_WorkFunction/2constructor.adoc[`ThroughputBenchmark&lowbar;WorkFunction`]         [.small]#[constructor]#
| Create a `ThroughputBenchmark&lowbar;WorkFunction` object with the specified `data` argument&period;
| xref:BloombergLP/bslmt/ThroughputBenchmark_WorkFunction/operator_call.adoc[`operator()`] 
| Work function being run on the thread&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
