您的位置:首页 > 其它

Using CLR Profiler for .NET Compact Framework

2008-05-15 10:25 387 查看

Power Toys for .NET Compact Framework 3.5 提供了 CLR Profiler 工具,用于分析 .NET Compact Framework 应用程序的性能,对象的内存分配情况等。目前支持 .NET CF 3.5 的应用程序。
Steven Pratschner 撰写了关于 CLR Profiler for .NET CF 3.5 的系列文章,想了解该工具的朋友可以去看看。

The CLR Profiler for the .Net Compact Framework

Part I, Getting Started. Describes how to install the profiler, launch an application, and begin collecting profiling data.

Part II, Histograms and "Show Who Allocated". The profiler displays various histograms you can use to determine the types and number of objects your application is allocating. You can also determine what methods in your application cause which types to get allocated.

Part III, The Timeline View. The timeline view shows the state of the GC heap over the lifetime of your application.

Part IV, The Call Tree View. Detailed information about every method call and every object allocation is shown in the Call Tree View.

Part V, Controlling the Profiler Programmatically. The CLRProfiler generates a large amount of data and significantly slows down your application. You can programmatically control when the profiler runs using an API that you call from your application. This API also allows you to insert comments into the profile data and to take a snapshot of the GC on demand.

另外,胡砚在她的 MSDN WebCast 课程《.NET Compact Framework 3.5版的新特性》中也介绍和演示了 CLR Profiler 的使用。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: