Namespaces
Variants
Actions

HAL报告了错误的CPU信息

Jump to: navigation, search
文章信息

兼容于
平台: S60 3rd Edition

文章
翻译:
hoolee
最后由 hamishwillee 在 13 Aug 2012 编辑
  • 详细描述

HAL(Hardware Abstraction Layer)API提供了关于CPU类型,架构,以及时钟速度等信息。但是,大部分S60第三版手机所提供的返回值是错误的。


下列代码返回了错误的CPU时钟速度,和CPU ABI(Application Binary Interface):

 #include <hal.h>
 
TInt cpuSpeed, cpuABI, ret;
 
ret = HAL::Get( HALData::ECPUSpeed, cpuSpeed );
ret = HAL::Get( HALData::ECPUABI, cpuABI );


  • 解决方案

暂无解决方案。Device specification pages on Nokia Developer提供了CPU类型和时钟速度的相关信息

This page was last modified on 13 August 2012, at 08:15.
134 page views in the last 30 days.
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved