quic/qbox
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
gs::tlm_quantumkeeper_multithread Class Reference
Inheritance diagram for gs::tlm_quantumkeeper_multithread:
Inheritance graph
[legend]
Collaboration diagram for gs::tlm_quantumkeeper_multithread:
Collaboration graph
[legend]

Public Types

enum  jobstates {
  NONE = 0 , RUNNING = 1 , STOPPED = 2 , SYSC_WAITING = 4 ,
  EXT_WAITING = 8 , ILLEGAL = 12
}
 

Public Member Functions

virtual SyncPolicy::Type get_thread_type () const override
 
virtual void start (std::function< void()> job=nullptr) override
 
virtual void stop () override
 
virtual sc_core::sc_time time_to_sync () override
 
void inc (const sc_core::sc_time &t) override
 
void set (const sc_core::sc_time &t) override
 
virtual void sync () override
 
void reset () override
 
sc_core::sc_time get_current_time () const override
 
sc_core::sc_time get_local_time () const override
 
virtual bool need_sync () override
 
jobstates get_status ()
 
std::string get_status_json ()
 
- Public Member Functions inherited from gs::tlm_quantumkeeper_extended
virtual bool need_sync () const override
 
virtual void run_on_systemc (std::function< void()> job)
 

Public Attributes

std::atomic< jobstates > status
 

Protected Member Functions

virtual bool is_sysc_thread () const
 

Protected Attributes

bool m_systemc_waiting
 
bool m_extern_waiting
 
async_event m_tick
 

Member Function Documentation

◆ get_thread_type()

virtual SyncPolicy::Type gs::tlm_quantumkeeper_multithread::get_thread_type ( ) const
inlineoverridevirtual

Reimplemented from gs::tlm_quantumkeeper_extended.

◆ need_sync()

bool gs::tlm_quantumkeeper_multithread::need_sync ( )
overridevirtual

Reimplemented from gs::tlm_quantumkeeper_extended.

◆ start()

void gs::tlm_quantumkeeper_multithread::start ( std::function< void()>  job = nullptr)
overridevirtual

Reimplemented from gs::tlm_quantumkeeper_extended.

◆ stop()

void gs::tlm_quantumkeeper_multithread::stop ( )
overridevirtual

Reimplemented from gs::tlm_quantumkeeper_extended.

◆ time_to_sync()

sc_core::sc_time gs::tlm_quantumkeeper_multithread::time_to_sync ( )
overridevirtual

Reimplemented from gs::tlm_quantumkeeper_extended.


The documentation for this class was generated from the following files: