wp7如何降低CPU占用率?
我正在检查我的项目中的CPU使用率,在空闲模式下它会显示40%-70%。
我想减少应用程序中的 CPU 使用率。
我在网上找到了一些代码,但没有降低CPU使用率。
code :
Application.Current.Host.Settings.EnableFrameRateCounter = true;
System.GC.Collect();
System.GC.WaitForPendingFinalizers();
我怎样才能做到这一点?
如果有人知道答案请告诉我一些想法来做到这一点。
谢谢。
I am checking CPU usage in my project, it will display 40%-70% in idle mode.
I want reduce CPU usage in my application.
I found some code in internet, but not reduce CPU usage.
code :
Application.Current.Host.Settings.EnableFrameRateCounter = true;
System.GC.Collect();
System.GC.WaitForPendingFinalizers();
How can i do that?
If anyone know the ans tell me some idea to do this.
thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MSDN 有一篇关于此主题的文章:
如何:使用 Windows Phone 性能分析识别并修复常见性能问题
MSDN has an article on just this subject:
How to: Identify and Fix Common Performance Issues Using Windows Phone Performance Analysis