Share via


Performance and Diagnostics 

The .NET Compact Framework provides performance counters that can be activated by a registry setting to generate a log file of performance statistics.

Note that you can also log the interop marshalling 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 which provides the Hibernate event hander method, which provides an opportunity to release cached resources.

In This Section

  • Log File Information
    Describes the content of log files for native code interoperability and loading programs.