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

Load per&hyphen;thread percentile throughputs for the specified group&period;

== Synopsis

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

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

== Description

Load into the specified `percentiles` vector of vectors a uniform breakdown of percentage throughput (count &sol; second) of the work done on the specified `threadGroupIndex` for each of the threads in it&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 size of each of the vectors inside `stats` must be `numThreads(threadGroupId)`&period; The behavior is undefined unless `0 &lt;&equals; threadGroupId &lt; numThreadGroups`, `2 &lt;&equals; percentiles&period;size()`, and `percentiles&lsqb;N&rsqb;&period;size() &equals;&equals; numThreads(threadGroupIndex)` for all N&period;

== Parameters

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


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