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

Added more accurate GPU Timing #505

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Aug 29, 2024

  1. Added more accurate GPU Timing

    Since GPUTime is used to calculate an estimated FPS, adding up all the timers doesn't paint the full picture.
    Instead a new timer has been added: RENDER_FRAME
    This timer is added at the start of postDrawScene() & ends just before the submit.
    
    (cherry picked from commit 4c4de7b)
    RuffledPlume committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    1ab8131 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Improve CPU Timing Accuracy

    FrameTimerOverlay::render() takes around 0.5 ms, account for this in the CPU time
    glGetError() is costly to call, around 0.2 ms so whilst the FrameTimer is open suppress the function
    RuffledPlume committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    1a1b6ab View commit details
    Browse the repository at this point in the history