Difference between revisions of "Gb.getCpuLoad"

From Gamebuino Wiki
Jump to: navigation, search
(creation)
 
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:gb.getCpuLoad}}
+
{{lowercase}}
 
__NOTOC__
 
__NOTOC__
 
== Description ==
 
== Description ==
Line 17: Line 17:
 
== See also ==
 
== See also ==
 
*[[gb.frameDurationMicros]]
 
*[[gb.frameDurationMicros]]
 +
*[[Memory optimization]]
 +
*[[Performance optimization]]

Latest revision as of 2014-05-20T21:04:48

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