diff options
author | Peter Boonstoppel <pboonstoppel@nvidia.com> | 2017-04-12 14:47:45 -0400 |
---|---|---|
committer | mobile promotions <svcmobile_promotions@nvidia.com> | 2017-04-17 11:14:22 -0400 |
commit | 278b765836b53a92e1b5b15a533221119de27669 (patch) | |
tree | 82c49588f0b020814fa05747d828f33d2a16be19 /drivers/gpu/nvgpu/gk20a/sync_gk20a.c | |
parent | 4ba206aacca15134d60c73d94a4d9568064bcc22 (diff) |
gpu: nvgpu: Fix submit profiling stat reporting
The debugfs submit profiling stats report the distribution of submit
times at different percentiles. The original code reports the lowest
entry in every percentile-bin as being representative for that
bin. This means that where debugfs reports the 50th percentile, it
actually reports the ~45.001th percentile. This is especially
inconveniant when looking at the 100th percentile, which does not in
fact reflect the maximum.
This patch changes the code to instead report the highest entry in
every percentile-bin.
Change-Id: Ibde3aaf6445e08af09a4a96156f8421cbeb8bae5
Signed-off-by: Peter Boonstoppel <pboonstoppel@nvidia.com>
Reviewed-on: http://git-master/r/1461658
Reviewed-by: mobile promotions <svcmobile_promotions@nvidia.com>
Tested-by: mobile promotions <svcmobile_promotions@nvidia.com>
Diffstat (limited to 'drivers/gpu/nvgpu/gk20a/sync_gk20a.c')
0 files changed, 0 insertions, 0 deletions