[#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 `&lt;bslmt&lowbar;throughputbenchmarkresult&period;h&gt;`

Create a `ThroughputBenchmarkResult` by moving from `original`&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-07.adoc[ThroughputBenchmarkResult](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;ThroughputBenchmarkResult&gt;] original) noexcept;
----

[.small]#xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-07.adoc[_» more&period;&period;&period;_]#

Create an empty `ThroughputBenchmarkResult` object&period;


[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&period;&period;&period;_]#

Create a `ThroughputBenchmarkResult` by moving with an allocator&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-0a.adoc[ThroughputBenchmarkResult](
    xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef&lt;ThroughputBenchmarkResult&gt;] original,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator);
----

[.small]#xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-0a.adoc[_» more&period;&period;&period;_]#

Create a `ThroughputBenchmarkResult` object as a copy of `original`&period;


[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&period;&period;&period;_]#

Create a `ThroughputBenchmarkResult` with the given sample layout&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-0d.adoc[ThroughputBenchmarkResult](
    int numSamples,
    xref:bsl/vector-00d.adoc[bsl::vector&lt;int&gt;] const& threadGroupSizes,
    xref:BloombergLP/bslma/Allocator.adoc[bslma::Allocator]* basicAllocator = 0);
----

[.small]#xref:BloombergLP/bslmt/ThroughputBenchmarkResult/2constructor-0d.adoc[_» more&period;&period;&period;_]#

== 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]#
