Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Make an educated guess if the TSC is trustworthy and synchronized* over all CPUs.

Proto:int unsynchronized_tsc(void)

Type:int

Parameter:Nothing

1189  If Not boot_cpu_has(Time Stamp Counter ) || TSC can be unstable due to cpufreq or due to unsynced TSCs Then Return 1
1197  If boot_cpu_has(TSC ticks at a constant rate ) Then Return 0
1200  If tsc_clocksource_reliable Then Return 0
1206  If CPU vendor != X86_VENDOR_INTEL Then
1208  If num_possible_cpus() > 1 Then Return 1
1212  Return 0
Caller
NameDescribe
tsc_init