第十组_CPU主频计算.pptVIP

  • 8
  • 0
  • 约小于1千字
  • 约 26页
  • 2017-04-25 发布于四川
  • 举报
第十组_CPU主频计算

CPU主频计算过程;任务目标 掌握CPU主频计算方法和调用过程 需要弄清楚的具体问题 1.CPU主频计算的方法 2.计算CPU主频的时机 ;相关知识总结;相关知识总结;即CPU内核的时钟频率,通常所说的某某CPU是多少GHz的,而这个多少GHz就是“CPU的主频”。;计算过程分析;计算过程分析;计算时机;代码入口;pr_info(Detected %lu.%03lu MHz processor\n, (unsigned long)cpu_khz / 1000, (unsigned long)cpu_khz % 1000); for_each_possible_cpu(cpu) { cyc2ns_init(cpu); set_cyc2ns_scale(cpu_khz, cpu); } if (tsc_disabled 0) return; tsc_disabled = 0; static_branch_enable(__use_tsc); if (!no_sched_irq_time) enable_sched_clock_irqtime();;代码入口;代码入口;使用结果的位置;CPU主频计算过程;Calibrate TSC using MSR for Intel Atom SoCs;Calibrate TSC using MSR for Intel Atom SoCs;Calibrate TSC using MSR for Intel Atom SoCs;Calibrate TSC using MSR for Intel Atom SoCs;quick_pit_calibrate;quick_pit_calibrate;quick_pit_calibrate;5 calibration loops;5 calibration loops;5 calibration loops;check the results;THANKS

文档评论(0)

1亿VIP精品文档

相关文档