BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bslmt::ThroughputBenchmark_TestUtil Class Reference

#include <bslmt_throughputbenchmark.h>

Public Member Functions

 ThroughputBenchmark_TestUtil (ThroughputBenchmark &data)
 
 ~ThroughputBenchmark_TestUtil ()=default
 
bsls::AtomicIntstate ()
 
bsl::vector< ThroughputBenchmark::ThreadGroup > & threadGroups ()
 

Detailed Description

This class implements a test utility that gives the test driver access to the unexposed data members of ThroughputBenchmark.

See bslmt_throughputbenchmark

Constructor & Destructor Documentation

◆ ThroughputBenchmark_TestUtil()

bslmt::ThroughputBenchmark_TestUtil::ThroughputBenchmark_TestUtil ( ThroughputBenchmark data)
inlineexplicit

Create a ThroughputBenchmark_TestUtil object to test contents of the specified data.

◆ ~ThroughputBenchmark_TestUtil()

bslmt::ThroughputBenchmark_TestUtil::~ThroughputBenchmark_TestUtil ( )
default

Member Function Documentation

◆ state()

bsls::AtomicInt & bslmt::ThroughputBenchmark_TestUtil::state ( )
inline

Return a reference providing modifiable access to the d_state data member of ThroughputBenchmark.

◆ threadGroups()

bsl::vector< ThroughputBenchmark::ThreadGroup > & bslmt::ThroughputBenchmark_TestUtil::threadGroups ( )
inline

Return a reference providing modifiable access to the d_threadGroups data member of ThroughputBenchmark.


The documentation for this class was generated from the following file: