Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\find_bit_benchmark.c Create Date:2022-07-28 06:26:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:test_find_next_bit

Proto:static int __init test_find_next_bit(const void *bitmap, unsigned long len)

Type:int

Parameter:

TypeParameterName
const void *bitmap
unsigned longlen
57  time = ktime_get()
58  When i < BITMAP_LEN cycle i = Find the next set bit in a memory region. + 1
60  time = ktime_get() - time
61  pr_err("find_next_bit: %18llu ns, %6ld iterations\n", time, cnt)
63  Return 0
Caller
NameDescribe
find_bit_test