Load per-thread percentile throughputs for the specified group.
Declared in <bslmt_throughputbenchmarkresult.h>
void
getThreadPercentiles(
bsl::vector<bsl::vector<double>>* percentiles,
int threadGroupIndex) const;
Load into the specified percentiles vector of vectors a uniform breakdown of percentage throughput (count / second) of the work done on the specified threadGroupIndex for each of the threads in it. 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 size of each of the vectors inside stats must be numThreads(threadGroupId). The behavior is undefined unless 0 <= threadGroupId < numThreadGroups, 2 <= percentiles.size(), and percentiles[N].size() == numThreads(threadGroupIndex) for all N.
| Name | Description |
|---|---|
| percentiles | loadable per-thread percentile throughputs |
| threadGroupIndex | index of the thread group |