Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched\clock.h Create Date:2022-07-28 05:38:48
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:local_clock

Proto:static inline u64 local_clock(void)

Type:u64

Parameter:Nothing

50  Return sched_clock()
Caller
NameDescribe
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().