Difference between revisions of "Gb.getCpuLoad"

From Gamebuino Wiki
Jump to: navigation, search
(creation)
 
m (added optimization pages in "See Also")
Line 17: Line 17:
 
== See also ==
 
== See also ==
 
*[[gb.frameDurationMicros]]
 
*[[gb.frameDurationMicros]]
 +
*[[Memory optimization]]
 +
*[[Performance optimization]]

Revision as of 2014-05-20T19:24:38


Description

Used to get the CPU load in percents.

Syntax

gb.getCpuLoad();

Parameters

none

Returns

byte: percentage of CPU used. It includes time consumed by the library to refresh the screen, update the sound, backlight, battery monitor, etc.

Example

See also