RTEMS 6.3
Loading...
Searching...
No Matches

Tests the CPU usage reporting and reset. More...

Files

file  testsuites/validation/tc-cpuuse.c

Functions

 T_TEST_CASE (RtemsCpuuseValCpuuse)

Detailed Description

Tests the CPU usage reporting and reset.

This test case performs the following actions:

  • Create a worker thread. Generate some CPU usage.
    • Check that we have a non-zero CPU usage. Reset the CPU usage. Check that it was cleared to zero.
    • Clean up all used resources.