Quick Links: |
#include <bslmt_throughputbenchmark.h>
Public Member Functions | |
ThroughputBenchmark_TestUtil (ThroughputBenchmark &data) | |
~ThroughputBenchmark_TestUtil () | |
bsls::AtomicInt & | state () |
bsl::vector < ThroughputBenchmark::ThreadGroup > & | threadGroups () |
This class implements a test utility that gives the test driver access to the unexposed data members of ThroughputBenchmark
.
See Component bslmt_throughputbenchmark
bslmt::ThroughputBenchmark_TestUtil::ThroughputBenchmark_TestUtil | ( | ThroughputBenchmark & | data | ) | [explicit] |
Create a ThroughputBenchmark_TestUtil
object to test contents of the specified data
.
bslmt::ThroughputBenchmark_TestUtil::~ThroughputBenchmark_TestUtil | ( | ) |
Destroy this object.
bsls::AtomicInt& bslmt::ThroughputBenchmark_TestUtil::state | ( | ) |
Return a reference providing modifiable access to the d_state
data member of ThroughputBenchmark
.
bsl::vector<ThroughputBenchmark::ThreadGroup>& bslmt::ThroughputBenchmark_TestUtil::threadGroups | ( | ) |
Return a reference providing modifiable access to the d_threadGroups
data member of ThroughputBenchmark
.