函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\ktime.h Create Date:2022-07-27 06:39:45
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:ktime_divns

函数原型:static inline s64 ktime_divns(const ktime_t kt, s64 div)

返回类型:s64

参数:

类型参数名称
const ktime_tkt
s64div
153  BUG_ON(div < 0)
154  如果__builtin_constant_p(div)且非div右移32位的值则
155  ns等于kt
156  tmp等于如果ns小于0则负ns否则ns
158  do_div() is NOT a C function(tmp, div)
159  返回:如果ns小于0则负tmp否则tmp
160  否则
161  返回:Divide a ktime value by a nanosecond value
调用者
名称描述
swsusp_show_speedswsusp_show_speed - Print time elapsed between two events during hibernation.*@start: Starting event.*@stop: Final event.*@nr_pages: Number of memory pages processed between @start and @stop.*@msg: Additional diagnostic message to print.
hrtimer_forwardhrtimer_forward - forward the timer expiry*@timer: hrtimer to forward*@now: forward past this time*@interval: the interval to forward* Forward the timer expiry so it will expire in the future.* Returns the number of overruns.
alarm_forward
ktime_to_us
ktime_to_ms
ktime_get_boottime_seconds
ktime_get_clocktai_seconds