Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

How to measure frame render time

$
0
0

@markwheeler wrote:

Hi, what is the correct way to measure how long each frame is taking to update & draw? I tried just comparing ofGetElapsedTimef() at the start of the update method with what it is at the end of draw but the results didn't seem to match up with the reality.

I'm hoping to just get a simple ms readout to help test optimizations.

Thx!

Posts: 6

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 4929