Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\lib\delay.c Create Date:2022-07-28 07:24:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:read_current_timer

Proto:int read_current_timer(unsigned long *timer_val)

Type:int

Parameter:

TypeParameterName
unsigned long *timer_val
152  If delay_fn == TSC based delay: Then
153  timer_val = dtsc() - returns the current TSC without ordering constraints* rdtsc() returns the result of RDTSC as a 64-bit integer
154  Return 0
156  Return -1
Caller
NameDescribe
calibrate_delay_direct