[#BloombergLP-bslmt-ThroughputBenchmarkResult-initialize] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThroughputBenchmarkResult.adoc[ThroughputBenchmarkResult]::initialize :relfileprefix: ../../../ :mrdocs: Initialize a default constructed `ThroughputBenchmarkResult` object with the specified `numSamples` number of samples in the benchmark, and the specified `threadGroupSizes`, the number of threads in each of the thread groups. If any data was previously kept, it is lost. 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"] ---- void initialize( int numSamples, xref:bsl/vector-00d.adoc[bsl::vector<int>] const& threadGroupSizes); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#