<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/introducing-dxtimingcapturelibrary-gv26ogqlj" -->

---
title: Introducing DxTimingCaptureLibrary | daily.dev
description: Microsoft released DxTimingCaptureLibrary, an open-source C++ library (MIT licensed, available on GitHub) that helps DirectX game developers interpret and...
canonical: https://daily.dev/posts/introducing-dxtimingcapturelibrary-gv26ogqlj
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Introducing DxTimingCaptureLibrary | daily.dev
og:description: Microsoft released DxTimingCaptureLibrary, an open-source C++ library (MIT licensed, available on GitHub) that helps DirectX game developers interpret and...
og:url: https://daily.dev/posts/introducing-dxtimingcapturelibrary-gv26ogqlj
og:image: https://api.daily.dev/og/posts/gV26OGQlJ.png
og:image:alt: Introducing DxTimingCaptureLibrary
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Introducing DxTimingCaptureLibrary

**[DevBlogs](https://daily.dev/sources/devblogs)** · 4 min read · 0 upvotes · 0 comments

## Summary

Microsoft released DxTimingCaptureLibrary, an open-source C++ library (MIT licensed, available on GitHub) that helps DirectX game developers interpret and correlate ETW (Event Tracing for Windows) events from D3D12, DXGI, and the DirectX kernel. It was extracted from PIX Timing Captures and exposes GPU timing data, object creation/destruction events, residency/paging events, DirectStorage events, runtime failure logs, pipeline compilation events, VSync events, and PIX counter data. It works on all Windows 10 and 11 versions and ships with samples including basic residency logging, D3D12 journal error reporting, a Perfetto trace generator, and a work-in-progress memory treemap visualizer.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://devblogs.microsoft.com/directx/introducing-dxtimingcapturelibrary>

## Questions this post answers

### What is DxTimingCaptureLibrary and what does it do for DirectX developers?

DxTimingCaptureLibrary is an open-source C++ library from Microsoft that interprets and correlates DirectX ETW events from D3D12, DXGI, and the DirectX kernel, exposing them through simple callbacks. It surfaces GPU timing data, API object creation/destruction, residency and paging events, DirectStorage events, D3D runtime failure logs, pipeline compilation events, VSync events, and PIX counter data, making it easier to build in-engine game profilers.

_Developers building custom GPU profilers can track tools like this as they evaluate DirectX instrumentation options on daily.dev._

### Where did DxTimingCaptureLibrary's code originally come from?

It was created by extracting code from PIX Timing Captures and turning it into a standalone project. All DirectX data shown in the PIX Timing Capture UI is available through the library, meaning developers can now access that same rich ETW-derived data programmatically rather than only through the PIX UI.

_Anyone weighing PIX versus building custom tooling can follow library updates like this on daily.dev._

### What license and platform support does DxTimingCaptureLibrary have?

It is released under the MIT license and is available on GitHub, working on all versions of Windows 10 and 11. It is written in C++ and includes sample projects such as basic residency logging, D3D12 journal error reporting, a Perfetto trace exporter, and an in-progress memory treemap visualizer.

_Teams picking licensing-friendly graphics tooling can keep tabs on releases like this via daily.dev._

## Similar posts on daily.dev

- [The fastest Linux timestamps · hmpc](https://daily.dev/posts/the-fastest-linux-timestamps-hmpc-evqoy4ob7) · Lobsters · 0 upvotes · 0 comments
- [Celebrating 10 Years of DirectX 12](https://daily.dev/posts/celebrating-10-years-of-directx-12-3achfpwdb) · DevBlogs · 1 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#game-development](https://daily.dev/tags/game-development), [#windows](https://daily.dev/tags/windows), [#c++](https://daily.dev/tags/c++), [#directx](https://daily.dev/tags/directx)

[View this post on daily.dev](https://daily.dev/posts/introducing-dxtimingcapturelibrary-gv26ogqlj)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Introducing DxTimingCaptureLibrary","url":"https://daily.dev/posts/introducing-dxtimingcapturelibrary-gv26ogqlj","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/introducing-dxtimingcapturelibrary-gv26ogqlj"},"datePublished":"2026-09-30T17:49:38.499Z","dateModified":"2026-09-30T17:50:01.332Z","description":"Microsoft released DxTimingCaptureLibrary, an open-source C++ library (MIT licensed, available on GitHub) that helps DirectX game developers interpret and...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/f37ac75a637c8da3b501b0b4cb47a1d4?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/f37ac75a637c8da3b501b0b4cb47a1d4?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"DevBlogs","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"DevBlogs","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/8f68b453325f482ebeb73fb780092713","url":"https://daily.dev/sources/devblogs"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/introducing-dxtimingcapturelibrary-gv26ogqlj","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"performance,game-development,windows,c++,directx","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DevBlogs","item":"https://daily.dev/sources/devblogs"},{"@type":"ListItem","position":3,"name":"Introducing DxTimingCaptureLibrary"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/introducing-dxtimingcapturelibrary-gv26ogqlj#faq","mainEntity":[{"@type":"Question","name":"What is DxTimingCaptureLibrary and what does it do for DirectX developers?","acceptedAnswer":{"@type":"Answer","text":"DxTimingCaptureLibrary is an open-source C++ library from Microsoft that interprets and correlates DirectX ETW events from D3D12, DXGI, and the DirectX kernel, exposing them through simple callbacks. It surfaces GPU timing data, API object creation/destruction, residency and paging events, DirectStorage events, D3D runtime failure logs, pipeline compilation events, VSync events, and PIX counter data, making it easier to build in-engine game profilers. Developers building custom GPU profilers can track tools like this as they evaluate DirectX instrumentation options on daily.dev."}},{"@type":"Question","name":"Where did DxTimingCaptureLibrary's code originally come from?","acceptedAnswer":{"@type":"Answer","text":"It was created by extracting code from PIX Timing Captures and turning it into a standalone project. All DirectX data shown in the PIX Timing Capture UI is available through the library, meaning developers can now access that same rich ETW-derived data programmatically rather than only through the PIX UI. Anyone weighing PIX versus building custom tooling can follow library updates like this on daily.dev."}},{"@type":"Question","name":"What license and platform support does DxTimingCaptureLibrary have?","acceptedAnswer":{"@type":"Answer","text":"It is released under the MIT license and is available on GitHub, working on all versions of Windows 10 and 11. It is written in C++ and includes sample projects such as basic residency logging, D3D12 journal error reporting, a Perfetto trace exporter, and an in-progress memory treemap visualizer. Teams picking licensing-friendly graphics tooling can keep tabs on releases like this via daily.dev."}}]}
```

