Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:impress_friends

Proto:static void impress_friends(void)

Type:void

Parameter:Nothing

647  bogosum = 0
651  pr_debug("Before bogomips\n")
652  for_each_possible_cpu(cpu)
653  If pumask_test_cpu - test for a cpu in a cpumask*@cpu: cpu number (< nr_cpu_ids)*@cpumask: the cpumask pointer* Returns 1 if @cpu is set in @cpumask, else returns 0 Then bogosum += loops_per_jiffy
655  pr_info("Total of %d processors activated (%lu.%02lu BogoMIPS)\n", num_online_cpus(), bogosum / (500000 / HZ), (bogosum / (5000 / HZ)) % 100)
660  pr_debug("Before bogocount - setting activated=1\n")
Caller
NameDescribe
native_smp_cpus_done