Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
M
Monado
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 45
    • Issues 45
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 14
    • Merge Requests 14
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Monado
  • Monado
  • Merge Requests
  • !591

Merged
Opened Nov 05, 2020 by Christoph Haag@haagchOwner

basic frame timing logging

  • Overview 5
  • Commits 5
  • Pipelines 4
  • Changes 6

This adds basic frame timing logging to the state tracker and to the compositor.

OXR_ST_LOG=trace prints timestamps for when xrWaitFrame is called, when it finishes waiting, the predicted display time and period, as well as when xrEndFrame is called and what predicted display time is passed in xrEndFrame.

XRT_COMPOSITOR_LOG=trace prints time stamps for when the compositor waits, the predicted display time and period it computes, as well as when layers are committed with their respective predicted display times.

Of course this does not replace the need for proper profiling but it gives a very high level overview whether Monado is even attempting to do the right thing (in my tests the output looks good).

Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: monado/monado!591
Source branch: frame_time_log