-
Notifications
You must be signed in to change notification settings - Fork 192
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a system for tracing GPU timeline work #1520
Merged
Merged
Conversation
This file contains 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
HansKristian-Work
force-pushed
the
queue-profiling
branch
from
April 18, 2023 16:32
a2d0792
to
70d94d4
Compare
HansKristian-Work
force-pushed
the
queue-profiling
branch
4 times, most recently
from
June 22, 2023 16:46
06a9a93
to
7f5e228
Compare
HansKristian-Work
force-pushed
the
queue-profiling
branch
from
September 16, 2023 09:00
7f5e228
to
39d8153
Compare
HansKristian-Work
force-pushed
the
queue-profiling
branch
from
October 30, 2023 14:16
39d8153
to
f5e6425
Compare
HansKristian-Work
force-pushed
the
queue-profiling
branch
from
November 18, 2023 15:01
f5e6425
to
38bea1c
Compare
HansKristian-Work
force-pushed
the
queue-profiling
branch
8 times, most recently
from
February 2, 2024 15:26
e8ffb15
to
c8cd2e1
Compare
When GetTickCount is imprecise and uses same timebase anyways. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
For profiling, this is more useful since we won't get resets after recreating a swapchain. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Queue profiler will report the virtual values. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
The fence worker needs to keep track of some extra information to ensure the trace output is sensible. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
HansKristian-Work
force-pushed
the
queue-profiling
branch
from
February 2, 2024 15:27
c8cd2e1
to
34128d7
Compare
Also works around silly GCC warnings. Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
Signed-off-by: Hans-Kristian Arntzen <post@arntzen-software.no>
HansKristian-Work
force-pushed
the
queue-profiling
branch
from
February 2, 2024 15:32
34128d7
to
3578595
Compare
doitsujin
approved these changes
Feb 8, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A coarse system-level profile method.
The goal here is to be able to see at a glance D3D12 submissions along with presents and when they complete (with present wait). It dumps out a trivial JSON format that Chromium can consume in chrome://tracing.
There are some useful features that can help track down things:
as an example.