F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Cpu.cpp File Reference
#include <Os/Linux/Cpu.hpp>
#include <Fw/Types/Assert.hpp>
#include <Fw/Types/StringUtils.hpp>
#include <Os/File.hpp>
#include <unistd.h>
#include <cstring>

Go to the source code of this file.

Namespaces

 Os
 
 Os::Linux
 
 Os::Linux::Cpu
 

Typedefs

using Os::Linux::Cpu::ProcCpuData = FwSizeType[ProcCpuMeasures::MAX_CPU_TICK_TYPES]
 

Enumerations

enum  Os::Linux::Cpu::ProcCpuMeasures {
  Os::Linux::Cpu::CPU_NUMBER = 0 , Os::Linux::Cpu::USER = 1 , Os::Linux::Cpu::NICE = 2 , Os::Linux::Cpu::SYSTEM = 3 ,
  Os::Linux::Cpu::IDLE = 4 , Os::Linux::Cpu::MAX_CPU_TICK_TYPES = 8
}
 

Functions

CpuInterface::Status Os::Linux::Cpu::getCpuData (FwSizeType cpu_index, ProcCpuData data)
 

Variables

constexpr FwSizeType Os::Linux::Cpu::LINE_SIZE = 255