scc 2026.07
SystemC components library
tlm::scc::qk::thread_comms_channel Struct Reference

the communication channel between client threads (incl. SystemC) and the global time keeper More...

#include <types.h>

Collaboration diagram for tlm::scc::qk::thread_comms_channel:

Public Member Functions

 thread_comms_channel (uint64_t my_id)
 Construct a new thread comms channel object.
 thread_comms_channel (thread_comms_channel const &o)
 Construct a new thread comms channel object.

Public Attributes

rigtorp::SPSCQueue< comms_entryclient2time_keeper
const uint64_t my_id
bool waiting4sc {true}
uint64_t thread_local_time {0}

Detailed Description

the communication channel between client threads (incl. SystemC) and the global time keeper

Definition at line 36 of file types.h.

Constructor & Destructor Documentation

◆ thread_comms_channel() [1/2]

tlm::scc::qk::thread_comms_channel::thread_comms_channel ( uint64_t my_id)
inline

Construct a new thread comms channel object.

Parameters
my_id

Definition at line 42 of file types.h.

◆ thread_comms_channel() [2/2]

tlm::scc::qk::thread_comms_channel::thread_comms_channel ( thread_comms_channel const & o)
inline

Construct a new thread comms channel object.

Parameters
o

Definition at line 50 of file types.h.

Member Data Documentation

◆ client2time_keeper

rigtorp::SPSCQueue<comms_entry> tlm::scc::qk::thread_comms_channel::client2time_keeper

Definition at line 57 of file types.h.

◆ my_id

const uint64_t tlm::scc::qk::thread_comms_channel::my_id

Definition at line 59 of file types.h.

◆ thread_local_time

uint64_t tlm::scc::qk::thread_comms_channel::thread_local_time {0}

Definition at line 61 of file types.h.

◆ waiting4sc

bool tlm::scc::qk::thread_comms_channel::waiting4sc {true}

Definition at line 60 of file types.h.


The documentation for this struct was generated from the following file:
  • /home/eyck/Projects/MINRES/SystemC-Components/src/sysc/tlm/scc/qk/types.h