diff options
| author | Steven Rostedt (Red Hat) <[email protected]> | 2014-06-06 03:34:02 +0000 |
|---|---|---|
| committer | Steven Rostedt <[email protected]> | 2014-06-06 04:41:38 +0000 |
| commit | 34839f5a69989c0ee48386a788fba37eb75910f7 (patch) | |
| tree | 5f93240558f6028500b0373e740e907990680091 /tools/perf/scripts/python/futex-contention.py | |
| parent | tracing: Convert stddev into u64 in tracepoint benchmark (diff) | |
| download | kernel-34839f5a69989c0ee48386a788fba37eb75910f7.tar.gz kernel-34839f5a69989c0ee48386a788fba37eb75910f7.zip | |
tracing: Only calculate stats of tracepoint benchmarks for 2^32 times
When calculating the average and standard deviation, it is required that
the count be less than UINT_MAX, otherwise the do_div() will get
undefined results. After 2^32 counts of data, the average and standard
deviation should pretty much be set anyway.
Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
