函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\time\timekeeping.c Create Date:2022-07-27 11:41:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ktime_mono_to_any() - convert mononotic time to any other time*@tmono: time to convert.*@offs: which offset to use

函数原型:ktime_t ktime_mono_to_any(ktime_t tmono, enum tk_offsets offs)

返回类型:ktime_t

参数:

类型参数名称
ktime_ttmono
enum tk_offsetsoffs
838  offset等于offsets[offs]
842  循环
843  seq等于ad_seqcount_begin - begin a seq-read critical section*@s: pointer to seqcount_t* Returns: count to be passed to read_seqcount_retry* read_seqcount_begin opens a read critical section of the given seqcount
844  tconv等于计算下一次触发时间(tmono, * offset)
845 ad_seqcount_retry - end a seq-read critical section*@s: pointer to seqcount_t*@start: count, from read_seqcount_begin* Returns: 1 if retry is required, else 0* read_seqcount_retry closes a read critical section of the given seqcount循环
847  返回:tconv
调用者
名称描述
ktime_mono_to_realktime_mono_to_real - Convert monotonic time to clock realtime