Windows Phone 7 中的性能监控(电源和 FPS)
我有两个关于 WP7 性能监控的问题:
1)启用 FPS 计数器简单,但是如何将当前 FPS 读取到变量中?这在 WP7 中可能吗?
2) 是否有 API 可以读取当前电池电量和/或电流消耗(以毫安为单位)?
I have 2 questions on performance monitoring in WP7:
1) Enabling the FPS counters is easy, but how do I read current FPS into a variable? Is this even possible in WP7?
2) Is there an API to read current battery level and/or current consumption in milliamperes?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
[在我对问题的最初评论和海报回复之后,我决定对自己进行挖掘......]
1)我找不到任何提及以编程方式读取 FPS 的内容。如果您还没有看过,可能会感兴趣:Windows Phone性能分析
2) 从7.1 SDK开始,没有API来访问电池状态。
[After my initial comment to question and posters reply, I decided to have a dig around myself...]
1) I cannot find any mention of reading FPS programmatically. If you haven't already seen, this might be of interest: Windows Phone Performance Analysis
2) As of the 7.1 SDK, there is no API to access the battery state.