函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\clock.h Create Date:2022-07-27 06:41:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:local_clock

函数原型:static inline u64 local_clock(void)

返回类型:u64

参数:

50  返回:sched_clock()
调用者
名称描述
running_clockRunning clock - returns the time that has elapsed while a guest has been* running.* On a guest this value should be local_clock minus the time the guest was* suspended by the hypervisor (for any reason).
sched_debug_header
log_storesert record into the buffer, discard old ones, update heads
cont_add
rcu_do_batchInvoke any RCU callbacks that have made it to the end of their grace* period. Thottle as specified by rdp->blimit.
read_persistent_wall_and_boot_offsetad_persistent_wall_and_boot_offset - Read persistent clock, and also offset* from the boot.* Weak dummy function for arches that do not yet support it.* The default function calculates offset based on the current value of* local_clock()
trace_clockrace_clock(): 'between' trace clock. Not completely serialized,* but not completely incorrect when crossing CPUs either.* This is based on cpu_clock(), which will allow at most ~1 jiffy of* jitter between CPUs. So it's a pretty scalable clock, but there
tracing_log_errracing_log_err - write an error to the tracing error log*@tr: The associated trace array for the error (NULL for top level array)*@loc: A string describing where the error occurred*@cmd: The tracing command that caused the error*@errs: The array of
perf_clock
cpu_clock_event_updateSoftware event: cpu wall time clock
cpu_clock_event_start
torture_randomCrude but fast random-number generator. Uses a linear congruential* generator, with occasional help from cpu_clock().