函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timekeeping_debug.c Create Date:2022-07-27 11:52:23
Last Modify:2020-03-17 14:56:32 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:tk_debug_sleep_time_show

函数原型:static int tk_debug_sleep_time_show(struct seq_file *s, void *data)

返回类型:int

参数:

类型参数名称
struct seq_file *s
void *data
25  seq_puts(s, " time (secs) count\n")
26  seq_puts(s, "------------------------------\n")
27 bin小于32循环
28  如果sleep_time_bin[bin]恒等于0则继续下一循环
30  seq_printf(s, "%10u - %-10u %4u\n", bin ? 1 << (bin - 1) : 0, 1 << bin, sleep_time_bin[bin])
34  返回:0