Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\select.c Create Date:2022-07-28 20:07:00
Last Modify:2020-03-18 10:25:38 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:select_estimate_accuracy

Proto:u64 select_estimate_accuracy(struct timespec64 *tv)

Type:u64

Parameter:

TypeParameterName
struct timespec64 *tv
84  If rt_task(current process) Then Return 0
87  ktime_get_ts64 - get the monotonic clock in timespec64 format*@ts: pointer to timespec variable* The function calculates the monotonic clock from the realtime* clock and the wall_to_monotonic offset and stores the result
88  now = sub = lhs - rhs, in normalized form
89  ret = __estimate_accuracy( & now)
90  If ret < timer_slack_ns Then Return timer_slack_ns
92  Return ret
Caller
NameDescribe
do_select
do_poll
ep_pollp_poll - Retrieves ready events, and delivers them to the caller supplied* event buffer.*@ep: Pointer to the eventpoll context.*@events: Pointer to the userspace buffer where the ready events should be* stored.