函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:sched_clock_suspend

函数原型:int sched_clock_suspend(void)

返回类型:int

参数:

279  rd等于read_data[0]
281  Atomically update the sched_clock() epoch.
282  hrtimer_cancel - cancel a timer and wait for the handler to finish.*@timer: the timer to be cancelled* Returns:* 0 when the timer was not active* 1 when the timer was active
283  read_sched_clock等于Clock read function for use when the clock is suspended.* This function makes it appear to sched_clock() as if the clock* stopped counting at its last update.* This function must only be called from the critical* section in sched_clock()
285  返回:0