aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorMaciej W. Rozycki <[email protected]>2022-04-24 12:47:26 +0100
committerThomas Gleixner <[email protected]>2022-05-02 14:29:04 +0200
commitcc1b923a4e378c943386e7fe6205918d43e5fede (patch)
treed2a52a8aedafe94c93d191376819d44cb720190e /lib/mpi/mpi-mod.c
parent92067440f1311dfa4d77b57a9da6b3706f5da32e (diff)
time/sched_clock: Use Hz as the unit for clock rate reporting below 4kHz
The kernel uses kHz as the unit for clock rates reported between 1MHz (inclusive) and 4MHz (exclusive), e.g.: sched_clock: 64 bits at 1000kHz, resolution 1000ns, wraps every 2199023255500ns This reduces the amount of data lost due to rounding, but hasn't been replicated for the kHz range when support was added for proper reporting of sub-kHz clock rates. Take the same approach for rates between 1kHz (inclusive) and 4kHz (exclusive), which makes it consistent. Signed-off-by: Maciej W. Rozycki <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions