BloombergLP::bslmt::ThroughputBenchmark_WorkData

Data transferred to ThroughputBenchmark_WorkFunction.

Synopsis

Declared in <bslmt_throughputbenchmark.h>

struct ThroughputBenchmark_WorkData;

Data Members

NameDescription
d_actualNanos Number of nanoseconds that the thread actually ran.
d_amount Busy work amount.
d_barrier_p Barrier used to trigger threads to start processing at the same time.
d_bench_p Pointer to the benchmark object running this work thread.
d_cleanup Cleanup function per thread.
d_count Number of items processed by this thread.
d_func Test function to run.
d_initialize Initialize function per thread.
d_threadIndex Thread index (0, 1, 2, ...) provided to the thread.