[#BloombergLP-bslmt-ThroughputBenchmarkResult-2constructor-0d] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThroughputBenchmarkResult.adoc[ThroughputBenchmarkResult]::ThroughputBenchmarkResult :relfileprefix: ../../../ :mrdocs: 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`. == Synopsis Declared in `<bslmt_throughputbenchmarkresult.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- ThroughputBenchmarkResult( int numSamples, xref:bsl/vector-00d.adoc[bsl::vector<int>] const& threadGroupSizes, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#