Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Reliable way to measure QML framerate
Forum Updated to NodeBB v4.3 + New Features

Reliable way to measure QML framerate

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 305 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • SebastianMS Offline
    SebastianMS Offline
    SebastianM
    wrote on last edited by
    #1

    Hi,
    How can I measure framerate?
    I used void QQuickWindow::frameSwapped() and QElapsedTimer reseted after each call to get time between each frame.
    Are there other ways to do it?

    sierdzioS 1 Reply Last reply
    0
    • SebastianMS SebastianM

      Hi,
      How can I measure framerate?
      I used void QQuickWindow::frameSwapped() and QElapsedTimer reseted after each call to get time between each frame.
      Are there other ways to do it?

      sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      @SebastianM QML has a fixed framerate of 60 fps. But if you want to verify, set QSG_INFO env variable and Qt will print frame times to console.

      (Z(:^

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved