Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Event handler for periodic ticks

Proto:void tick_handle_periodic(struct clock_event_device *dev)

Type:void

Parameter:

TypeParameterName
struct clock_event_device *dev
105  cpu = smp_processor_id()
106  next = next_event
108  Periodic tick
120  If Not clockevent_state_oneshot(dev) Then Return
122  cycle
127  next = Add two ktime_t variables. res = lhs + rhs: (next, tick_period)
129  If Not lockevents_program_event - Reprogram the clock event device.*@dev: device to program*@expires: absolute expiry time (monotonic clock)*@force: program minimum delay if expires can not be set* Returns 0 on success, -ETIME when the event is in the past. Then Return
140  If mekeeping_valid_for_hres - Check if timekeeping is suitable for hres Then Periodic tick