Constructors

Synopses

Declared in <bslmt_throughputbenchmarkresult.h>

Create a ThroughputBenchmarkResult by moving from original.

Create an empty ThroughputBenchmarkResult object.

explicit
ThroughputBenchmarkResult(bslma::Allocator* basicAllocator = 0);

Create a ThroughputBenchmarkResult by moving with an allocator.

Create a ThroughputBenchmarkResult object as a copy of original.

ThroughputBenchmarkResult(
    ThroughputBenchmarkResult const& original,
    bslma::Allocator* basicAllocator = 0);

Create a ThroughputBenchmarkResult with the given sample layout.

ThroughputBenchmarkResult(
    int numSamples,
    bsl::vector<int> const& threadGroupSizes,
    bslma::Allocator* basicAllocator = 0);

Parameters

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

Created with MrDocs