diff options
| author | Andreas Ziegler <[email protected]> | 2023-01-03 11:33:59 +0100 |
|---|---|---|
| committer | Steven Rostedt (Google) <[email protected]> | 2023-01-31 19:23:36 -0500 |
| commit | fe137a4fe0e77eb95396cfc5c3dd7df404421aa4 (patch) | |
| tree | d1961a818987d735f10b3bb2ba5a64d3b5c30e0f /drivers/fpga/tests | |
| parent | a37380ef8b54b18717e908e173179bf78c143ed2 (diff) | |
tools/tracing/rtla: osnoise_hist: use total duration for average calculation
Sampled durations must be weighted by observed quantity, to arrive at a correct
average duration value.
Perform calculation of total duration by summing (duration * count).
Link: https://lkml.kernel.org/r/[email protected]
Fixes: 829a6c0b5698 ("rtla/osnoise: Add the hist mode")
Signed-off-by: Andreas Ziegler <[email protected]>
Acked-by: Daniel Bristot de Oliveira <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/fpga/tests')
0 files changed, 0 insertions, 0 deletions