Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\power\suspend_test.c Create Date:2022-07-28 09:58:30
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:suspend_test_finish

Proto:void suspend_test_finish(const char *label)

Type:void

Parameter:

TypeParameterName
const char *label
38  nj = jiffies - suspend_test_start_time
41  msec = Convert various time units to each other:
42  pr_info("PM: %s took %d.%03d seconds\n", label, msec / 1000, msec % 1000)
53  WARN(msec > (We test the system suspend code by setting an RTC wakealarm a short* time in the future, then suspending * 1000), "Component: %s, time: %u\n", label, msec)
Caller
NameDescribe
suspend_devices_and_entersuspend_devices_and_enter - Suspend devices and enter system sleep state.*@state: System sleep state to enter.