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

Load the median throughput for the specified thread group&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
getMedian(
    double* median,
    int threadGroupIndex) const;
----

== Description

Load into the specified `median` the median throughput (count &sol; second) of the work done by all the threads in the specified `threadGroupIndex`&period; The behavior is undefined unless `0 &lt;&equals; threadGroupIndex &lt; numThreadGroups`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *median*
| loadable median throughput
| *threadGroupIndex*
| index of the thread group
|===


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