Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\hrtimer.c Create Date:2022-07-28 10:40:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hrtimer_clockid_to_base

Proto:static inline int hrtimer_clockid_to_base(clockid_t clock_id)

Type:int

Parameter:

TypeParameterName
clockid_tclock_id
1366  If Value is more likely to compile time(clock_id < MAX_CLOCKS) Then
1367  base = hrtimer_clock_to_base_table[clock_id]
1369  If Value is more likely to compile time(base != HRTIMER_MAX_CLOCK_BASES) Then Return base
1372  WARN(1, "Invalid clockid %d. Using MONOTONIC\n", clock_id)
1373  Return HRTIMER_BASE_MONOTONIC
Caller
NameDescribe
__hrtimer_init