System library

<< Click to Display Table of Contents >>

Navigation:  Project > Scripts > ST language > Embedded functions >

System library

Previous pageReturn to chapter overviewNext page

getsystemcpuload() - get system CPU load.

 

Example:

double cpuload = getsystemcpuload();

 


getprocesscpuload() - get process CPU load.

 

Example:

double processload = getprocesscpuload();

 


gettotalmemory() - get size of the total memory of the device.

 

Example:

double memory = gettotalmemory();

 


getfreememory() - get size of the free memory of the device.

 

Example:

double memory = getfreememory();

 


getjvmtotalmemory() - get size of the JVM total memory of the device.

 

Example:

double memory = getjvmtotalmemory();

 


getjvmfreememory() - get size of the JVM free memory of the device.

 

Example:

double memory = getjvmfreememory();

 


getusedmemory() - get size of used memory of the device.

 

Example:

double memory = getusedmemory();

 


getjvmmaxmemory() - get size of the JVM max memory of the device.

 

Example:

double memory = getjvmmaxmemory();

 


getheapmemory() - get size of the heap memory of the device.

 

Example:

double memory = getheapmemory();

 


getnonheapmemory() - get size of the non heap memory of the device.

 

Example:

double memory = getnonheapmemory();