GCC Code Coverage Report


Directory: ./
File: Ref/BlockDriver/BlockDriver.cpp
Date: 2026-09-03 22:12:29
Exec Total Coverage
Lines: 8 11 72.7%
Functions: 4 5 80.0%
Branches: 2 2 100.0%

Line Branch Exec Source
1 #include <Fw/FPrimeBasicTypes.hpp>
2 #include <Fw/Types/Assert.hpp>
3 #include <Ref/BlockDriver/BlockDriver.hpp>
4
5 namespace Ref {
6
7 1 BlockDriver::BlockDriver(const char* compName) : BlockDriverComponentBase(compName), m_cycles(0) {}
8
9 2 BlockDriver::~BlockDriver() {}
10
11 void BlockDriver::BufferIn_handler(FwIndexType portNum, Drv::DataBuffer& buffer) {
12 // just a pass-through
13 this->BufferOut_out(0, buffer);
14 }
15
16 59 void BlockDriver::Sched_handler(FwIndexType portNum, U32 context) {
17
2/2
✓ Branch 1 taken 59 times.
✓ Branch 4 taken 59 times.
59 this->tlmWrite_BD_Cycles(this->m_cycles++);
18 59 }
19
20 59 void BlockDriver::PingIn_handler(const FwIndexType portNum, U32 key) {
21 // call ping output port
22 59 this->PingOut_out(0, key);
23 59 }
24
25 } // namespace Ref
26