- Main Page
- Modules
- Data Structures
- Files

# CPU Usage Calculation
[User API: Nano Layer]

## Functions
UVAR_t | nosCpuUsage (void)

## Detailed Description

The nano layer features CPU usage measurement. If this feature is enabled, the system start is delayed for approximately one second that is needed to calibrate the idle loop counter. The CPU usage statistics is updated one time per second.

## Function Documentation

UVAR_t nosCpuUsage | ( | void |  | ) |

| Calculate and return the percentage of CPU usage. Returns: percentage of CPU usage (0 ... 100 %%) Note: NOSCFG_FEATURE_CPUUSAGE must be defined to 1 to have this function compiled in.