Skip to content
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 performance measurement layer #34

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Add performance measurement layer #34

wants to merge 4 commits into from

Conversation

solidpixel
Copy link
Contributor

@solidpixel solidpixel commented Dec 30, 2024

This layer adds the ability to measure per workload performance using timer queries and performance counters, both implementing using a tiler-friendly approach to sandbox workloads. See layer readme in the PR for details.

TODO List

  • Check device is Vulkan 1.1 or force enable timeline semaphore extension.
  • Implement workload serialization within each queue.
  • Implement workload serialization across queues.
  • Implement event-event syncs for libGPUCounters with a fixed set of counters.
  • Implement query pools for timer queries.
  • Implement timer queries.
  • Implement comms protocol for counters.
  • Implement comms protocol for timer queries.
  • Implement configuration module and add to loader script.
  • Implement "unhandled case" detection and logging.

@solidpixel solidpixel marked this pull request as draft December 30, 2024 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant