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.
MSDN has an article on just this subject:
How to: Identify and Fix Common Performance Issues Using Windows Phone Performance Analysis