函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\select.c Create Date:2022-07-29 10:36:58
Last Modify:2020-03-18 10:25:38 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:__estimate_accuracy

函数原型:static long __estimate_accuracy(struct timespec64 *tv)

返回类型:long

参数:

类型参数名称
struct timespec64 *tv
55  divfactor等于1000
57  如果 seconds 小于0则返回:0
60  如果返回给定任务的值大于0则divfactor等于divfactor除5
63  如果 seconds 大于Estimate expected accuracy in ns from a timevalNSEC_PER_SECdivfactor则返回:Estimate expected accuracy in ns from a timeval
66  slack等于 nanoseconds divfactor
67  slack加等于 seconds NSEC_PER_SECdivfactor
69  如果slack大于Estimate expected accuracy in ns from a timeval则返回:Estimate expected accuracy in ns from a timeval
72  返回:slack
调用者
名称描述
select_estimate_accuracy