函数逻辑报告 |
Source Code:init\calibrate.c |
Create Date:2022-07-27 15:17:42 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:计算CPU需要校准的时间
函数原型:void calibrate_delay(void)
返回类型:void
参数:无
281 | 如果per_cpu(cpu_loops_per_jiffy, this_cpu)则 |
282 | lpj等于per_cpu(cpu_loops_per_jiffy, this_cpu) |
286 | 否则如果preset_lpj则 |
287 | lpj等于preset_lpj |
293 | 打印信息("Calibrating delay loop (skipped), value calculated using timer frequency.. ") |
301 | 否则 |
304 | lpj等于calibrate_delay_converge() |
306 | per_cpu(cpu_loops_per_jiffy, this_cpu)等于lpj |
307 | 如果非printed则打印标准信息("%lu.%02lu BogoMIPS (lpj=%lu)\n", lpj / (500000 / HZ), (lpj / (5000 / HZ)) % 100, lpj) |
313 | printed = true |
名称 | 描述 |
---|---|
smp_callin | Report back to the Boot Processor during boot time or to the caller processor* during CPU online. |
check_cx686_slop | Reset the slow-loop (SLOP) bit on the 686(L) which is set by some old* BIOSes for compatibility with DOS games. This makes the udelay loop* work correctly, and improves performance.* FIXME: our newer udelay uses the tsc. We don't need to frob with SLOP |
start_kernel | 启动内核 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |