garfieldx

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2013年11月5日

摘要: 1 public class DevManager 2 { 3 private static final String TAG = "CpuManager"; 4 Context mContext; 5 6 public DevManager() 7 { 8 9 } 10 11 public DevManager(Context context) 12 { 13 mContext = context; 14 } 15 16 // 获取CPU最大频率(单位KHZ) 17 /... 阅读全文
posted @ 2013-11-05 16:34 garfieldx 阅读(291) 评论(0) 推荐(0) 编辑

摘要: android获取cpu核心数代码如下 1 private int getNumCores() 2 { 3 // Private Class to display only CPU devices in the directory listing 4 class CpuFilter implements FileFilter 5 { 6 @Override 7 public boolean accept(File pathname) 8 { 9 ... 阅读全文
posted @ 2013-11-05 15:42 garfieldx 阅读(4936) 评论(0) 推荐(0) 编辑