gb.getCpuLoad

From Gamebuino Wiki
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