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

Return the throughput for the given thread, group, and sample&period;

== Synopsis

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

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

== Description

Return the throughput of work done on the specified `threadIndex` thread, in the specified `threadGroupIndex`, and the specified `sampleIndex` sample&period; The behavior is undefined unless `0 &lt;&equals; threadIndex &lt; numThreads(threadGroupIndex)`, `0 &lt;&equals; threadGroupIndex &lt; numThreadGroups()`, and `0 &lt;&equals; sampleIndex &lt; numSamples()`&period;

== Return Value

throughput for the given thread, group, and sample

== Parameters

[cols="1,4"]
|===
| Name| Description
| *threadGroupIndex*
| index of the thread group
| *threadIndex*
| index of the thread within the group
| *sampleIndex*
| index of the sample
|===


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