Constructors
Declared in <bslmt_throughputbenchmarkresult.h>
Create a ThroughputBenchmarkResult by moving from original.
ThroughputBenchmarkResult(bslmf::MovableRef<ThroughputBenchmarkResult> original) noexcept;
» more...
Create an empty ThroughputBenchmarkResult object.
explicit
ThroughputBenchmarkResult(bslma::Allocator* basicAllocator = 0);
» more...
Create a ThroughputBenchmarkResult by moving with an allocator.
ThroughputBenchmarkResult(
bslmf::MovableRef<ThroughputBenchmarkResult> original,
bslma::Allocator* basicAllocator);
» more...
Create a ThroughputBenchmarkResult object as a copy of original.
ThroughputBenchmarkResult(
ThroughputBenchmarkResult const& original,
bslma::Allocator* basicAllocator = 0);
» more...
Create a ThroughputBenchmarkResult with the given sample layout.
ThroughputBenchmarkResult(
int numSamples,
bsl::vector<int> const& threadGroupSizes,
bslma::Allocator* basicAllocator = 0);
» more...
| Name | Description |
|---|---|
| original | object to move from |
| basicAllocator | allocator used to supply memory |
| numSamples | number of samples in the benchmark |
| threadGroupSizes | number of threads in each thread group |