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.
Bookmarks