Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 15:41, 23 June 2008.

HAL报告了错误的CPU信息

From Forum Nokia Wiki

KIS000764


  • 开发伙伴平台:

S60 3rd Edition


  • 详细描述

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 Forum Nokia提供了CPU类型和时钟速度的相关信息

 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX