Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\tsc.h Create Date:2022-07-28 05:35:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:get_cycles

Proto:static inline cycles_t get_cycles(void)

Type:cycles_t

Parameter:Nothing

26  If Not boot_cpu_has(Time Stamp Counter ) Then Return 0
30  Return dtsc() - returns the current TSC without ordering constraints* rdtsc() returns the result of RDTSC as a 64-bit integer
Caller
NameDescribe
test_func
rbtree_test_init
interval_tree_test_init
tsc_read_refsRead TSC and the reference counters. Take care of any disturbances
pit_calibrate_tscTry to calibrate the TSC against the Programmable* Interrupt Timer and return the frequency of the TSC* in kHz.* Return ULONG_MAX on failure to calibrate.
pit_expect_msb
get_any_partialGet a page from somewhere. Search in increasing NUMA distances.
kasan_init_tags