ios - 解释iOS中Energy Usage Instrument的统计

标签 ios instruments energy

我正在尝试使用 Instrument 查找我的 iOS 应用程序的能源使用情况

我得到了时间、总事件、前台应用事件、音频处理和 百分比格式的图形。前台应用程序事件、音频处理和 图形与总事件不同!

但我不明白这些列的含义是什么?谁能给我解释一下这些统计数据的含义以及如何使用它?

最佳答案

最新Energy Diagnostics文档说:

The Energy Usage instrument shows a level from 0 to 20, indicating how much energy your app is using at a given time. These numbers are subjective. If your app’s energy usage level is occasionally high, it doesn’t necessarily mean that your app has a problem. Your app may simply require more energy for some of the tasks it performs. For example, it may use GPS while performing complex network operations. This is valid energy use. What you should look for are spikes or areas of high energy use that are unexpected or that could be performed at more optimal times.

关于ios - 解释iOS中Energy Usage Instrument的统计,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13064468/

相关文章:

ios - TWRequest 在非 ARC 项目中使用时似乎会泄漏

iphone - "Dirty"和 "Resident"与虚拟内存相关是什么意思?

ios - 自定义 UITableviewCell 放弃内存问题

contiki - 如何使用 Cooja 计算总能耗

java - 测量java中的能量消耗

objective-c - 将 UIPrintInteractionController 推送到 UINavigationController 堆栈

ios - RxSwift 中 RxJava onErrorResumeNext 运算符的模拟是什么?

IOS 跨设备唯一用户标识符

ios - 如何将解析数据从 TableView 传递到详细 View Controller ?

计算最节能的自组织网络的算法