Results 1 to 4 of 4

Thread: How to calculate rendring time of Qpixmzp or graphicsview

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2010
    Posts
    63
    Thanks
    6
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    MacOS X Unix/X11 Windows Symbian S60

    Default Re: How to calculate rendring time of Qpixmzp or graphicsview

    Hi,
    Thanks for reply.
    IS there any other way to measure perfomance of moudle. in term of sapce time complexicity.
    Is any such library given in Qt ?

    Thanks

  2. #2
    Join Date
    Nov 2010
    Posts
    315
    Thanked 53 Times in 51 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: How to calculate rendring time of Qpixmzp or graphicsview

    QTestLib has QBENCHMARK. See example here. But in case of painting performance you have to find alternative way or workarounds (paint event of widgets is synchronized with refresh rate of screen).
    Once I did this kind of test by putting in graphics view lots of objects of one kind and animating some of them (I measured nr of paint event calls in 4 second period, nr of object was so big so frames per second were smaller then refresh rate of screen so I have warranty that I measure performance of my painting not screen refresh rate).

Similar Threads

  1. Calculate scene coordinates from QGraphicsLinearLayout
    By onurozcelik in forum Qt Programming
    Replies: 2
    Last Post: 21st January 2011, 08:38
  2. calculate draw time
    By johnsoga in forum Qt Programming
    Replies: 1
    Last Post: 30th May 2009, 02:03
  3. how to calculate difference b/w two times
    By dummystories in forum Newbie
    Replies: 1
    Last Post: 9th March 2009, 13:58
  4. Replies: 0
    Last Post: 6th March 2009, 08:19
  5. How to calculate Monitor Resolution?
    By ashukla in forum Qt Programming
    Replies: 2
    Last Post: 7th October 2007, 07:28

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
  •  
Qt is a trademark of The Qt Company.