Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:locksource_start_suspend_timing - Start measuring the suspend timing*@cs: current clocksource from timekeeping*@start_cycles: current cycles from timekeeping* This function will save the start cycle values of suspend timer to calculate

Proto:void clocksource_start_suspend_timing(struct clocksource *cs, u64 start_cycles)

Type:void

Parameter:

TypeParameterName
struct clocksource *cs
u64start_cycles
527  If Not suspend_clocksource Then Return
535  If clocksource_is_suspend(cs) Then
536  suspend_start = start_cycles
537  Return
540  If enable && enable(suspend_clocksource) Then
542  pr_warn_once("Failed to enable the non-suspend-able clocksource.\n")
543  Return
546  suspend_start = read(suspend_clocksource)