LCOV - code coverage report
Current view: top level - timing/src - BoreasDesign.cpp (source / functions) Coverage Total Hit
Test: code.result Lines: 0.0 % 23 0
Test Date: 2026-02-16 10:18:04 Functions: 0.0 % 7 0

            Line data    Source code
       1              : /**
       2              :  * @file BoreasDesign.cpp
       3              :  *
       4              :  * This is part of the DUNE DAQ Software Suite, copyright 2020.
       5              :  * Licensing/copyright details are in the COPYING file that you should have
       6              :  * received with this code.
       7              :  */
       8              : 
       9              : #include "timing/BoreasDesign.hpp"
      10              : 
      11              : #include <sstream>
      12              : #include <string>
      13              : 
      14              : namespace dunedaq::timing {
      15              : 
      16            0 : UHAL_REGISTER_DERIVED_NODE(BoreasDesign)
      17              : 
      18              : //-----------------------------------------------------------------------------
      19            0 : BoreasDesign::BoreasDesign(const uhal::Node& node)
      20              :   : TopDesignInterface(node)
      21              :   , MasterDesignInterface(node)
      22              :   , EndpointDesignInterface(node)
      23              :   , MasterDesign(node)
      24            0 :   , HSIDesignInterface(node)
      25            0 : {}
      26              : //-----------------------------------------------------------------------------
      27              : 
      28              : //-----------------------------------------------------------------------------
      29            0 : BoreasDesign::~BoreasDesign()
      30            0 : {}
      31              : //-----------------------------------------------------------------------------
      32              : 
      33              : //-----------------------------------------------------------------------------
      34              : std::string
      35            0 : BoreasDesign::get_status(bool print_out) const
      36              : {
      37            0 :   std::stringstream status;
      38            0 :   status << get_io_node_plain()->get_pll_status();
      39            0 :   status << get_master_node_plain()->get_status();
      40            0 :   status << get_endpoint_node_plain(0)->get_status();
      41            0 :   status << get_hsi_node().get_status();
      42            0 :   if (print_out)
      43            0 :     TLOG() << status.str();
      44            0 :   return status.str();
      45            0 : }
      46              : //-----------------------------------------------------------------------------
      47              : 
      48              : //-----------------------------------------------------------------------------
      49              : void
      50            0 : BoreasDesign::configure(ClockSource clock_source, TimestampSource ts_source) const
      51              : {
      52            0 :   MasterDesign::configure(clock_source, ts_source);
      53              :   // configure endpoint
      54              :   // configure hsi
      55              :   // get_his_node().
      56            0 : }
      57              : //-----------------------------------------------------------------------------
      58              : 
      59              : //-----------------------------------------------------------------------------
      60              : void
      61            0 : BoreasDesign::get_info(timingfirmwareinfo::TimingDeviceInfo& mon_data) const
      62              : {
      63            0 :   MasterDesign::get_info(mon_data);
      64            0 :   HSIDesignInterface::get_info(mon_data);
      65            0 : }
      66              : //-----------------------------------------------------------------------------
      67              : } // namespace dunedaq::timing
        

Generated by: LCOV version 2.0-1