Skip to content

Debug Overlays: Frame Statistics Overlay

Salman Ahmed edited this page Feb 15, 2020 · 4 revisions

Frame Statistics

osu! framework provides in-picture debugging overlays, defined in osu.Framework.Input.FrameworkActionContainer. One such overlay is the Frame Statistics Overlay.

Overview

Minimized View

Control-F11 toggles the frame statistics overlay. The first time you toggle this overlay, you will be greeted with a minimized version of it. This view displays the frame timings of the four main gameplay threads: Audio, Input, Update, and Draw.

Extended View

Pressing Control-F11 again will expand the overlay, displaying a graph of the activity on each thread.

Detailed View

Holding down the control key in this state will expand the graph further, allowing you to peek at how many events of each type are occuring on each thread.

Statistics

The statistics for this overlay are defined in osu.Framework.Statistics.FrameStatistics.

These statistics are counted per frame.

Update

Draw

Audio

Input

Clone this wiki locally