aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test_bitmap.c
diff options
context:
space:
mode:
authorKuan-Wei Chiu <[email protected]>2024-05-02 09:24:42 +0000
committerYury Norov <[email protected]>2024-05-09 16:25:08 +0000
commit0a2c6664e56f0dff7535c3d3d9a6174279e18acc (patch)
tree6349481a13947ca35841cd3a75fcda2326a723f8 /lib/test_bitmap.c
parentCompiler Attributes: Add __always_used macro (diff)
downloadkernel-0a2c6664e56f0dff7535c3d3d9a6174279e18acc.tar.gz
kernel-0a2c6664e56f0dff7535c3d3d9a6174279e18acc.zip
lib/test_bitops: Add benchmark test for fns()
Introduce a benchmark test for the fns(). It measures the total time taken by fns() to process 10,000 test data generated using get_random_bytes() for each n in the range [0, BITS_PER_LONG). example: test_bitops: fns: 7637268 ns CC: Andrew Morton <[email protected]> CC: Rasmus Villemoes <[email protected]> CC: David Laight <[email protected]> Signed-off-by: Kuan-Wei Chiu <[email protected]> Suggested-by: Yury Norov <[email protected]> Signed-off-by: Yury Norov <[email protected]>
Diffstat (limited to 'lib/test_bitmap.c')
0 files changed, 0 insertions, 0 deletions