Performance and Diagnostics in the .NET Compact Framework
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
The .NET Compact Framework provides performance counters that can be activated by a registry setting to generate a log file of performance statistics.
You can also log the interop marshaling of native and managed types. For information about generating a log file, see the section "Interop Logging" in Marshaling Overview.
You can also release cached resources by using the MobileDevice class. This class includes the Hibernate event, which provides an opportunity to reduce resource usage.
In This Section
Performance Counters in the .NET Compact Framework
Describes the performance counters in the .NET Compact Framework that can generate performance statistics.How to: Generate Performance Statistics
Shows how to set a registry key to generate statistics with the performance counters in the .NET Compact Framework.How to: Monitor Performance at Run Time
Describes how to set up and run Remote Performance Monitor, which monitors an application's performance while the application is running.How to: Create Log Files
Describes how to generate log files for native code interoperability and loading programs.Log File Information
Describes the content of log files for native code interoperability, loading programs, and networking.How to: Improve Performance
Contains techniques to improve performance and save memory in device applications.How to: Use the High-Resolution Timer
Shows how to use the high-resolution timer to provide precise time measurements for time-sensitive applications or to time the execution speed of code blocks.