PresentMon Improvements: Memory Leak Fixes, ETW Monitoring & Build Setup by DevTechProfile · Pull Request #560 · GameTechDev/PresentMon
Navigation Menu
{{ message }}
GameTechDev / PresentMon Public
- Notifications You must be signed in to change notification settings
- Fork 185
Merged
markgalvan-intel merged 5 commits intoGameTechDev:mainfrom
Jan 6, 2026Merged
PresentMon Improvements: Memory Leak Fixes, ETW Monitoring & Build Setup#560
markgalvan-intel merged 5 commits intoGameTechDev:mainfrom
PresentMon Improvements: Memory Leak Fixes, ETW Monitoring & Build Setup#560
markgalvan-intel merged 5 commits intoGameTechDev:mainfrom
Conversation
Copy link
Contributor
DevTechProfile
commented
Dec 31, 2025
DevTechProfile
commented
- 7666068 - project setup, can be build
- Updated .gitignore (can be ignored)
- Modified ConsoleApplication.sln for build configuration
- e4dd0f5 - increased sessionProps.MaximumBuffers
- Increased ETW session buffer capacity in PresentMonTraceSession.cpp (please check)
- 1e913d6 - fix memory leaks, nodes in HwQueueContext
- Fixed memory leak in GPU trace handling
- Added cleanup for HwQueueContext nodes in GpuTrace.cpp
- f4cd91f - ETW status monitoring (would be very nice to add this)
- Added ETW session status monitoring functionality
- New status tracking in PresentMonTraceSession.cpp/.hpp
- CSV output support for ETW statistics
- Command line and main thread integration
- 8e303cc - fixed memory leak PCLStatsShutdown event (critical part!)
- Fixed critical memory leak in PC Latency tracking (--track_pc_latency)
- Added PCL data cleanup on process termination
- Added periodic pruning of stale PCL timing data in CompletePresent
- Prevents unbounded growth of mPclTimingDataByPclFrameId and mLatestPingTimestampByProcessId
DevTechProfile added 5 commits
December 31, 2025 13:06
DevTechProfile
mentioned this pull request
malikm
mentioned this pull request
markgalvan-intel
assigned
markgalvan-intel and unassigned
markgalvan-intel
markgalvan-intel
self-requested a review
markgalvan-intel approved these changes Jan 6, 2026
Copy link
Collaborator
markgalvan-intel
left a comment
markgalvan-intel
left a comment
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks for the contribution. It is greatly appreciated!
markgalvan-intel
merged commit
6e30d52
into
GameTechDev:main
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment