Understanding the language, error messages, etc.
by albertinjo » Tue May 20, 2014 8:46 am
Lately I managed to make my own menu and popup screen. I was playing with some gamebuino library functions and I called the gb.frameDurationMicros function. It returns a big number and I dont seem to understand what it represents. Does it have to do something with framerate?
-
albertinjo
-
- Posts: 98
- Joined: Wed Mar 26, 2014 2:26 pm
by rodot » Tue May 20, 2014 9:02 am
frameDurationMicros is supposed to be the time it took to render the last frame in number of microseconds. It's used in the function getCpuLoad() which give the % of CPU used.
Although I'm not sure if it's correctly implemented as things has moved in the library since I added that. I'll check it soon (while I write the reference page).
-
rodot
- Site Admin
-
- Posts: 1290
- Joined: Mon Nov 19, 2012 11:54 pm
- Location: France
-
Return to Programming Questions
Who is online
Users browsing this forum: No registered users and 18 guests