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

Data transferred to ThroughputBenchmark&lowbar;WorkFunction&period;

== Synopsis

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

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

== Data Members

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bslmt/ThroughputBenchmark_WorkData/d_actualNanos.adoc[`d&lowbar;actualNanos`] 
| Number of nanoseconds that the thread actually ran&period;
| xref:BloombergLP/bslmt/ThroughputBenchmark_WorkData/d_amount.adoc[`d&lowbar;amount`] 
| Busy work amount&period;
| xref:BloombergLP/bslmt/ThroughputBenchmark_WorkData/d_barrier_p.adoc[`d&lowbar;barrier&lowbar;p`] 
| Barrier used to trigger threads to start processing at the same time&period;
| xref:BloombergLP/bslmt/ThroughputBenchmark_WorkData/d_bench_p.adoc[`d&lowbar;bench&lowbar;p`] 
| Pointer to the benchmark object running this work thread&period;
| xref:BloombergLP/bslmt/ThroughputBenchmark_WorkData/d_cleanup.adoc[`d&lowbar;cleanup`] 
| Cleanup function per thread&period;
| xref:BloombergLP/bslmt/ThroughputBenchmark_WorkData/d_count.adoc[`d&lowbar;count`] 
| Number of items processed by this thread&period;
| xref:BloombergLP/bslmt/ThroughputBenchmark_WorkData/d_func.adoc[`d&lowbar;func`] 
| Test function to run&period;
| xref:BloombergLP/bslmt/ThroughputBenchmark_WorkData/d_initialize.adoc[`d&lowbar;initialize`] 
| Initialize function per thread&period;
| xref:BloombergLP/bslmt/ThroughputBenchmark_WorkData/d_threadIndex.adoc[`d&lowbar;threadIndex`] 
| Thread index (0, 1, 2, &period;&period;&period;) provided to the thread&period;
|===



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