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:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:test_find_next_and_bit

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

Type:int

Parameter:

TypeParameterName
const void *bitmap
const void *bitmap2
unsigned longlen
105  time = ktime_get()
106  When i < BITMAP_LEN cycle i = find_next_and_bit(bitmap, bitmap2, BITMAP_LEN, i + 1)
108  time = ktime_get() - time
109  pr_err("find_next_and_bit: %18llu ns, %6ld iterations\n", time, cnt)
111  Return 0
Caller
NameDescribe
find_bit_test