Results 1 to 2 of 2

Thread: calculate draw time

  1. #1
    Join Date
    May 2009
    Posts
    16
    Thanks
    2
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default calculate draw time

    I have a powerpc processor with the powervr graphics accelerator. I am trying to determine the difference in draw time that I get between using the graphics accelerator or not. What is the best way to determine draw time?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: calculate draw time

    You can inject QTime::start() and QTime::elapsed() to your drawing routine but this will only check how long it takes to exit the function and not how long it took for the hardware to render it to the framebuffer. I don't think what you want is possible to obtain on this level.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Replies: 12
    Last Post: 25th December 2009, 15:07
  2. Replies: 0
    Last Post: 6th March 2009, 08:19
  3. Replies: 1
    Last Post: 1st February 2008, 18:55
  4. QDateTime GMT add sec. or - sec. from locale time....
    By patrik08 in forum Qt Programming
    Replies: 2
    Last Post: 20th February 2007, 16:39
  5. Problem with pointers while using localtime() and time()
    By jamadagni in forum General Programming
    Replies: 7
    Last Post: 11th January 2006, 15:48

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.