F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
Cpu.cpp File Reference
#include <Os/Darwin/Cpu.hpp>
#include <Fw/Types/Assert.hpp>
#include <mach/mach_error.h>
#include <mach/mach_host.h>
#include <mach/mach_init.h>
#include <mach/mach_types.h>
#include <mach/message.h>

Go to the source code of this file.

Namespaces

namespace  Os
 
namespace  Os::Darwin
 
namespace  Os::Darwin::Cpu
 

Functions

kern_return_t Os::Darwin::Cpu::cpu_data_helper (processor_cpu_load_info_t &cpu_load_info, FwSizeType &cpu_count)
 helper around raw CPU capture API
 
kern_return_t Os::Darwin::Cpu::cpu_by_index (FwSizeType cpu_index, FwSizeType &used, FwSizeType &total)
 Query for a single CPU's ticks information.