Load a uniform percentile breakdown for the specified thread group.
Declared in <bslmt_throughputbenchmarkresult.h>
void
getPercentiles(
bsl::vector<double>* percentiles,
int threadGroupIndex) const;
Load into the specified percentiles vector a uniform breakdown of percentage throughput (count / second) of the work done by all the threads in the specified threadGroupIndex. The size of percentiles controls how many percentages are provided. For example, a size of 5 will return the percentages 0, 0.25, 0.5, 0.75, 1. The behavior is undefined unless 0 <= threadGroupIndex < numThreadGroups and 2 <= percentiles->size().
| Name | Description |
|---|---|
| percentiles | loadable vector of percentile throughputs |
| threadGroupIndex | index of the thread group |