[#BloombergLP-bslmt-ThroughputBenchmarkResult-setThroughput]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThroughputBenchmarkResult.adoc[ThroughputBenchmarkResult]::setThroughput
:relfileprefix: ../../../
:mrdocs:

Set the throughput related to the specified `threadIndex` thread, in the specified `threadGroupIndex`, and the specified `sampleIndex` to the specified `value`&period; The behavior is undefined unless `0 &lt;&equals; value`, `0 &lt;&equals; threadIndex &lt; numThreads(threadGroupIndex)`, `0 &lt;&equals; threadGroupIndex &lt; numThreadGroups()`, and `0 &lt;&equals; sampleIndex &lt; numSamples()`&period;

== Synopsis

Declared in `&lt;bslmt&lowbar;throughputbenchmarkresult&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
setThroughput(
    int threadGroupIndex,
    int threadIndex,
    int sampleIndex,
    double value);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
