PIX on Windows
Performance tuning and debugging for DirectX 12 games on Windows
Latest posts
PIX survey – we want to hear from you!
Are you building games with DirectX 12 on Windows? We want to hear from you! Check out aka.ms/pixsurvey This survey will influence where the PIX team will make our future feature investments and help us better understand which pain points we need to address first. We also hope to better understand whether our past investments had the impact we expected. Please let us know what you think! We also want to tell everyone how we’re planning on using the feedback we hear from the survey. We’re targeting sometime in September for another post describing how what we heard will shape PIX on Windows – watch this b...
New File IO-related counters in the Timing Capture Metrics View
The 2107.01 release of PIX on Windows adds drive bandwidth counters to the Metrics view in Timing Captures. These new counters, along with the existing drive utilization counters and the ability to view data on all file accesses, helps give you a clear picture of how file io is impacting title performance. To collect the counters and the data on file accesses, select the File accesses checkbox before starting the capture. The drive utilization and bandwidth counters can be found under the Derived System Metrics/Drive Utilization node in the Metrics View Selector Panel. Bandwidth and utilization counte...
Symbol loading improvements to PIX Timing Captures
Have you ever opened a Timing Capture only to realize you hadn't configured your symbol path correctly? The good news is that PIX has long had the ability to process symbols after the fact. The bad news is that you had to close and reopen the capture (after fixing up your symbol path) to trigger PIX to reload the symbols. A small, but incredibly useful new feature has been added to Timing Captures in the 2107.01 release of PIX on Windows: the ability to reload symbols without having to close and reopen the capture. If you make changes to your symbol path settings while a Timing Capture is open, use the Re...
PIX 2107.01: GPU Event List Navigation Aids and Column Statistics
WinPIX version 2017.01 features several ease-of-use features that improve navigation on the GPU event list. Filter masks let you exclude subsets so you can focus on what you want. The new event path explorer navigates through the event hierarchy. There's a new search bar. Finally, column statistics summarize counters for you.
CPU Sample collection issue fixed in a recent Windows Update
Several people have reported that CPU samples were not showing up in Timing Captures starting a few months ago. This ended up being an issue with Windows Defender that has been fixed in a Windows servicing update that was released earlier this week. A description of the fix and how to verify that you've received it is available on the Visual Studio community site. If you have the required update and are still seeing this issue, please let us know! Steven.
Timing Capture Sampling Profiler video
I recently posted a new video to the PIX on Windows YouTube channel that describes some of the features in the Sampling Profiler in Timing Captures. This video shows how to use CPU samples to analyze CPU performance in portions of your title that aren't sufficiently instrumented with PIX events. As always, use the feedback button in the upper right corner of the PIX UI to get in touch with us to report bugs, request features, and so on. Steven.
Converting previous versions of Timing Captures
In some releases of PIX, the Timing Capture file format must be changed as new features are added. Such a format change was made in the 2104.20 release of PIX on Windows. If you attempt to open a capture that contains an older file format, a dialog will be displayed with the following text: Please use the Convert menu to migrate this capture file to the latest version. This capture file was created with an older version of PIX and is no longer supported To convert the capture, select the Convert menu under the Home tab. Enter the name of the old Timing Capture in the Source File field or use the browse ...
Usability improvements to the Timing Capture Metrics View
The 2104.20 release of PIX on Windows includes several usability improvements to the Metrics View in Timing Captures. These usability improvements make it easier to manage the set of metrics that are currently graphed. Metrics analysis is also improved through the ability to customize the minimum and maximum values for the y-axis for each metric. These usability improvements are provided by a new Active Metrics panel. This new panel lists all metrics that have been added to the graph from either the Selector panel or the Timeline view. The table of graphed metrics includes a checkbox that can be used to tog...
New CPU Sampling Profiler C++ Source Code View
Starting with the 2104.20 release of PIX on Windows, the Sampling Profiler that is built into Timing Captures includes a C++ source code view. The source view uses coloring to attribute the collected CPU samples with source lines, thereby identifying the hot spots within a function. The source view is available when viewing Sampled Functions in the Range Details view. To view the annotated source for a function, select the function in the Range Details view and toggle the Element Details view from Details to Source Analysis as shown in the following figure. The boldness of the highlight on a given sour...