Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sched_clock_suspend

Proto:int sched_clock_suspend(void)

Type:int

Parameter:Nothing

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  Return 0