diff options
| author | Pali Rohár <[email protected]> | 2022-02-19 16:28:13 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-02-25 10:27:57 +0100 |
| commit | 2c861b73a23b1237bdd054b6023bb27f6747c2b9 (patch) | |
| tree | e9844b25100551469ea95c36d6fd59130506fcac /tools/perf/scripts/python | |
| parent | 679875d1d8802669590ef4d69b0e7d13207ebd61 (diff) | |
math64: New DIV_U64_ROUND_CLOSEST helper
Provide DIV_U64_ROUND_CLOSEST helper which uses div_u64 to perform
division rounded to the closest integer using unsigned 64bit
dividend and unsigned 32bit divisor.
Reviewed-by: Marek Behún <[email protected]>
Signed-off-by: Pali Rohár <[email protected]>
Signed-off-by: Marek Behún <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions