[#BloombergLP-bslmt-ThroughputBenchmarkResult-2constructor-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThroughputBenchmarkResult.adoc[ThroughputBenchmarkResult]::ThroughputBenchmarkResult :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bslmt_throughputbenchmarkresult.h>` Create a `ThroughputBenchmarkResult` by moving from `original`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-07.adoc[ThroughputBenchmarkResult](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<ThroughputBenchmarkResult>] original) noexcept; ---- [.small]#xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-07.adoc[_» more..._]# Create an empty `ThroughputBenchmarkResult` object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-03.adoc[ThroughputBenchmarkResult](xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-03.adoc[_» more..._]# Create a `ThroughputBenchmarkResult` by moving with an allocator. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-0a.adoc[ThroughputBenchmarkResult]( xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<ThroughputBenchmarkResult>] original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator); ---- [.small]#xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-0a.adoc[_» more..._]# Create a `ThroughputBenchmarkResult` object as a copy of `original`. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-0e.adoc[ThroughputBenchmarkResult]( xref:BloombergLP/bslmt/ThroughputBenchmarkResult.adoc[ThroughputBenchmarkResult] const& original, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-0e.adoc[_» more..._]# Create a `ThroughputBenchmarkResult` with the given sample layout. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-0d.adoc[ThroughputBenchmarkResult]( int numSamples, xref:bsl/vector-00d.adoc[bsl::vector<int>] const& threadGroupSizes, xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0); ---- [.small]#xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-0d.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | 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 |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#