How to get statistics on processor and memory usage in WIndows Phone 7?

How to get statistics on CPU and memory usage in Windows Phone 7?

Well, any statistics on a particular WP7 device would be helpful.

+3
source share
2 answers

You can get IN CODE memory information from Advanced Device Properties .
Values ​​of interest:

DeviceExtendedProperties.GetValue("DeviceTotalMemory");
DeviceExtendedProperties.GetValue("ApplicationCurrentMemoryUsage");
DeviceExtendedProperties.GetValue("ApplicationPeakMemoryUsage");

All this for how long.

Unfortunately, processor information is currently unavailable.

+5
source

You can enable counters using:

Application.Current.Host.Settings.EnableFrameRateCounter = true;
Microsoft.Phone.Shell.SystemTray.IsVisible = false;

There is a good article on how to read Jeff Wilcox's date .

Windows Phone 7. , DLL. .

+2

Source: https://habr.com/ru/post/1769413/


All Articles