BloombergLP::bslmt::ThroughputBenchmarkResult::ThroughputBenchmarkResult

Constructors

Synopses

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...

Parameters

NameDescription
originalobject to move from
basicAllocatorallocator used to supply memory
numSamplesnumber of samples in the benchmark
threadGroupSizesnumber of threads in each thread group