Episode

Defrag Tools: #83 - Performance Counters - Part 2

In this episode of Defrag Tools, Andrew Richards and Chad Beeder continue a 3-part series on how Performance Counters work and how to add them to an application. This episode focuses on the XML manifest that you develop, that turns in to code when compiled with CTRPP.

Resources:
Performance Counter Schema

Timeline:
[00:00] - XML Manifest
[01:56] - XSD
[02:33] - GUID Generator
[03:43] - *.man or *.manifest file
[06:06] - Provider
[08:06] - CounterSet
[11:30] - Counter
[13:30] - CounterAttribute
[18:00] - Default Scale - 10^N
[23:17] - Email us your issues at defragtools@microsoft.com

Example Manifest:

<instrumentationManifest xmlns="https://schemas.microsoft.com/win/2004/08/events" xmlns:win="https://manifests.microsoft.com/win/2004/08/windows/events" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

XML

Have feedback? Submit an issue here.