Skip to content

charlesastaylor/Performance_Monitoring_Counters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jai module to enable collecting Performance-Monitoring Counters (PMCs) thread-safe, continuously on a running program. Last tested on beta 0.2.006.

Inspired (and significantly aided!) by "The Computer Enhance 2024 International Event Tracing for Windows Halloween Spooktacular Challenge".

Includes bindings to the Event Tracing for Windows (ETW) api in the Windows_Event_Tracing module, with examples ported from mmozeiko's gists etw and miniperf.

A pretty silly example of collecting pmcs per frame and changing the active pmcs - https://youtu.be/ZCFkBtRG2Lg.

Since the end of the spooktacular Casey released his version - pmctrace. Other than being written by Casey and not me, the official version also now 1) doesn't require the program to be run as admin and 2) adds the ability to use all pmcs, not just ones exposed by ETW. These were things added after the "spooktacular" and, given the license for Caseys version, I'd want to check with him before adding those things here, or just directly porting his version.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published