Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:jiffies_to_timeval

Proto:void jiffies_to_timeval(const unsigned long jiffies, struct timeval *value)

Type:void

Parameter:

TypeParameterName
const unsigned longjiffies
struct timeval *value
703  seconds = div_u64_rem((u64)jiffies * TICK_NSEC is the time between ticks in nsec assuming SHIFTED_HZ , NSEC_PER_SEC, & rem)
705  microseconds = rem / NSEC_PER_USEC