The statistics file includes running totals, the most recent value (last datum), count (n), average (mean), minimum and maximum values for the counters. I've included an example file at the end of this post. For counters where a given column is not relevant, a hyphen (-) is logged.I will use the following format to describe each counter.Counter nameBrief description of the counterDiscussion of the contents of relevant columns (total, last datum, n, mean, min, max)Any additional comments relating to the counterExceptions CountersExceptions can be expensive. Knowing how many exceptions were thrown while your application ran is a good way to identify potential design issues. There is one counter in the Exceptions category -- Exceptions Thrown.Exceptions ThrownThe count of managed exceptions that have been thrown.total: Running total of exceptions thrownInterop CountersInterop counters contain information regarding how an application interoperates with unmanaged (native) components (functions and COM objects).Platform Invoke CallsThe count of calls from managed code to native code via Platform Invoke (P/Invoke).total: Running total of callsThe Platform Invoke Calls counter counts P/Invoke calls made by the application and the .NET Compact Framework runtime.COM Calls Using a vtableThe count of calls from managed code to native code via COM using the IUnknown-derived (vtable) method. total: Running total of callsCOM Calls Using IDispatchThe count of calls from managed code to native code via COM using the IDispatch method. total: Running total callsComplex MarshalingThe number of objects marshaled from managed code to native code that involved copying or transforming the data.total: Running total of objectsRuntime Callable WrappersThe count of COM Runtime Callable Wrappers (RCWs) that have been created.total: Running total of RCWs createdRuntime Callable Wrappers are created when managed code (running on the .NET Compact Framework runtime) calls into an unmanaged (native) COM object.Networking CountersThe Networking counters provide information regarding the amount of data sent and received using Sockets.Socket Bytes SentThe count of bytes sent by an application over one or more sockets.total: Running total of bytesSocket Bytes ReceivedThe count of bytes received by an application over one or more sockets.total: Running total of bytesExample statistics fileI have highlighted the counters discussed here with a yellow background.
Next time, I'll post the final installment of this series which will discuss the Windows.Forms counters.Take care,-- DKDisclaimer(s):This posting is provided "AS IS" with no warranties, and confers no rights.