GCC Code Coverage Report


Directory: ./
File: Os/Stub/Cpu.cpp
Date: 2026-09-03 21:13:48
Exec Total Coverage
Lines: 0 9 0.0%
Functions: 0 3 0.0%
Branches: 0 0 -%

Line Branch Exec Source
1 // ======================================================================
2 // \title Os/Stub/Cpu.cpp
3 // \brief stub implementation for Os::Cpu
4 // ======================================================================
5 #include <Os/Stub/Cpu.hpp>
6
7 namespace Os {
8 namespace Stub {
9 namespace Cpu {
10
11 CpuInterface::Status StubCpu::_getCount(FwSizeType& cpu_count) {
12 cpu_count = 0;
13 return Status::ERROR;
14 }
15
16 CpuInterface::Status StubCpu::_getTicks(Os::Cpu::Ticks& ticks, FwSizeType cpu_index) {
17 ticks.total = 1;
18 ticks.used = 1;
19 return Status::ERROR;
20 }
21
22 CpuHandle* StubCpu::getHandle() {
23 return &this->m_handle;
24 }
25
26 } // namespace Cpu
27 } // namespace Stub
28 } // namespace Os
29