 |
F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file.
12 #ifndef _SystemResources_hpp_
13 #define _SystemResources_hpp_
18 namespace SystemResources {
U64 used
Filled with non-idle (system, user) CPU ticks.
@ SYSTEM_RESOURCES_OK
Call was successful.
@ SYSTEM_RESOURCES_ERROR
Call failed.
U64 used
Filled with used bytes of volatile memory (permanent, paged-in)
SystemResourcesStatus getCpuTicks(CpuTicks &ticks, U32 cpu_index=0)
Get the CPU tick information for a given CPU.
U64 total
Filled with total CPU ticks.
SystemResourcesStatus getCpuCount(U32 &cpu_count)
Request the count of the CPUs detected by the system.
Declares ISF basic types.
U64 total
Filled with total non-volatile memory.
SystemResourcesStatus getMemUtil(MemUtil &memory_util)
Calculate the across-all-cpu average tick information.