的Windows Phone 8:在混合C#/ C监视内存的使用情况++ [英] Windows Phone 8: Monitoring memory usage in mixed C#/C++

查看:187
本文介绍了的Windows Phone 8:在混合C#/ C监视内存的使用情况++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要监视在Windows Phone 8的混合C#/ C ++应用程序,它使用的Windows Phone运行时组件的内存使用情况。问题是,openening Visual Studio中的分析工具包(ALT + F1)时,我只有选择执行(http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202934%28v= vs.105%29.aspx)。对于纯C#项目的内存选项可用。

I want to monitor memory usage of a mixed C#/C++ app on Windows Phone 8 which uses Windows Phone Runtime Components. The problem is that when openening the analysis toolkit in Visual Studio (ALT+F1) I have only the option "Execution" (http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh202934%28v=vs.105%29.aspx). For "pure" C# project the memory options are available as well.

还有其他或多或少简单的方法来监视内存的使用情况?

Are there other more or less easy means to monitor memory usage?

问候,

推荐答案

你有没有考虑构建自己的C#内存监控用户界面?它不会像幻想或详细,Visual Studio的内存分析仪,但它是之前推出WP7.5内存分析能力大约一年的常态。

Have you considered building your own C# memory monitoring UI? It won't be as fancy or detailed as Visual Studio's memory analyzer, but it was the norm for about a year before WP7.5 introduced memory profiling capability.

我以前下的对于Windows Phone的应用内存分析技术。特别是你关心的部分添加屏幕coding4fun MemoryCounter 创建自己的内存分析器

I've written about this topic before on Nokia's Wiki under Techniques for memory analysis of Windows Phone apps. Specifically the parts you care about are Add on-screen coding4fun MemoryCounter and Create your own memory profiler.

这篇关于的Windows Phone 8:在混合C#/ C监视内存的使用情况++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆