gb.getCpuLoad

From Gamebuino Wiki
Revision as of 2014-05-20T20:04:48 by Rodot (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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