Create a ThroughputBenchmarkResult object with the specified numSamples the number of samples in the benchmark, and the specified threadGroupSizes, the number of threads in each of the thread groups. Optionally specify a basicAllocator used to supply memory. If basicAllocator is 0, the currently installed default allocator is used. The behavior is undefined unless 0 < numSamples, 0 < threadGroupSizes.size(), and 0 < threadGroupSizes[N] for all valid N.
Declared in <bslmt_throughputbenchmarkresult.h>
ThroughputBenchmarkResult(
int numSamples,
bsl::vector<int> const& threadGroupSizes,
bslma::Allocator* basicAllocator = 0);