gb.getCpuLoad

From Gamebuino Wiki
Revision as of 2014-05-20T19:24:38 by Rodot (talk | contribs) (added optimization pages in "See Also")
Jump to: navigation, search


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