]> www.infradead.org Git - users/jedix/linux-maple.git/commit
refscale: Add measurement of clock readout
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 4 May 2021 00:04:57 +0000 (17:04 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 25 May 2021 00:13:26 +0000 (17:13 -0700)
commit840bd856230affcf0117c529038ed2cb13dbaeb6
tree625cbd5a8a7b8916238cf9d50f740582f04b9dbe
parented1431841ad4b271fa90b22855a105d5c568a58e
refscale: Add measurement of clock readout

This commit adds a "clock" type to refscale, which checks the performance
of ktime_get_real_fast_ns().  Use the "clocksource=" kernel boot parameter
to select the underlying clock source.

[ paulmck: Work around compiler false positive per kernel test robot. ]
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/refscale.c