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

Load a uniform percentile breakdown for the specified thread group&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
getPercentiles(
    xref:bsl/vector-00d.adoc[bsl::vector&lt;double&gt;]* percentiles,
    int threadGroupIndex) const;
----

== Description

Load into the specified `percentiles` vector a uniform breakdown of percentage throughput (count &sol; second) of the work done by all the threads in the specified `threadGroupIndex`&period; The size of `percentiles` controls how many percentages are provided&period; For example, a size of 5 will return the percentages 0, 0&period;25, 0&period;5, 0&period;75, 1&period; The behavior is undefined unless `0 &lt;&equals; threadGroupIndex &lt; numThreadGroups` and `2 &lt;&equals; percentiles&hyphen;&gt;size()`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *percentiles*
| loadable vector of percentile throughputs
| *threadGroupIndex*
| index of the thread group
|===


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