Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
M
mutter
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 742
    • Issues 742
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 98
    • Merge Requests 98
  • 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
  • GNOME
  • mutter
  • Merge Requests
  • !502

Closed
Opened Mar 21, 2019 by Georges Basile Stavracas Neto@feaneronMaintainer1 of 3 tasks completed1/3 tasks
  • Report abuse
Report abuse

Charts

  • Overview 24
  • Commits 6
  • Pipelines 16
  • Changes 11

This merge requests adds the infamous frame time graph to Mutter:

IMG_1630

To display the chart, open the Looking Glass and run:

>>> Meta.add_clutter_debug_flags(0, Clutter.DrawDebugFlag.PAINT_FRAME_TIME, 0)

And to hide the chart, run:

>>> Meta.remove_clutter_debug_flags(0, Clutter.DrawDebugFlag.PAINT_FRAME_TIME, 0)

The line represents the maximum time slot a frame has to draw itself. If a bar crossed that line, it means the frame was missed.

It accounts for layout times (in green) and paint times (in blue).


To Do:

  • Don't disable buffer age
  • Move implementation to ClutterStage
  • Investigate using additional DRM planes
Edited Sep 18, 2020 by Georges Basile Stavracas Neto
Assignee
Assign to
Reviewer
Request review from
None
Milestone
None
Assign milestone
Time tracking
Reference: GNOME/mutter!502
Source branch: gbsneto/charts