Defrag Tools: #82 - Performance Counters - Part 1

Sign in to queue


In this episode of Defrag Tools, Andrew Richards, Chad Beeder and Larry Larsen begin a multi-part series on how Performance Counters work and how to add them to an application. This episode focuses on the (statistical) counter types that determine how the (raw) data is reported.

Performance Counter Schema
Performance Counter Types

[00:00] - Performance Monitor
[01:38] - Process, Processor & Physical Disk
[02:30] - Instances
[07:15]Instrumentation Manifest
[08:56]Counter Types
[13:25] - Sample cadence and overall duration
[15:18] - Performance Counter Frequency
[16:10] - QueryPerformanceCounter
[16:22] - [Side note] - Changing the IE new tab behavior
[16:47] - LARGE_INTEGER union
[17:46] - Get Start time, Call Function, Get End time, Log the Delta
[19:48] - Email us your issues at



The Discussion

Add Your 2 Cents