5 #ifndef OS_INTERFACES_CPUINTERFACE_HPP_ 6 #define OS_INTERFACES_CPUINTERFACE_HPP_ 52 #endif // OS_INTERFACES_CPUINTERFACE_HPP_ types and constants shared by users of Os::Cpu and by its implementations
PlatformSizeType FwSizeType
virtual Status _getCount(FwSizeType &cpu_count)=0
Request the count of the CPUs detected by the system.
virtual CpuInterface & operator=(const CpuInterface &other)=delete
assignment operator is forbidden
virtual Status _getTicks(Ticks &ticks, FwSizeType cpu_index)=0
Get the CPU tick information for a given CPU.
Cpu variable handle parent.
virtual CpuHandle * getHandle()=0
return the underlying cpu handle (implementation specific).
Status
Generic OK/ERROR status.
CpuInterface()=default
Default constructor.
Generic used/total struct.
virtual ~CpuInterface()=default
Default destructor.
interface for cpu implementation