sc_core::sc_timestamp Class Reference

A time stamp combining timed cycles and delta cycles. More...

#include <sysc/kernel/sc_process.h>

Collaboration diagram for sc_core::sc_timestamp:
Collaboration graph
[legend]

List of all members.

Public Types

typedef sc_dt::uint64 value_type
 The data type of delta cycles.

Public Member Functions

 sc_timestamp ()
 sc_timestamp (sc_time, value_type)
 sc_timestamp (long long, int)
 sc_timestamp (const sc_timestamp &)
sc_timestampoperator= (const sc_timestamp &)
 Overload assignment operator.
bool operator== (const sc_timestamp &) const
 Overload == operator.
bool operator!= (const sc_timestamp &) const
 Overload != operator.
bool operator< (const sc_timestamp &) const
 Overload < operator.
bool operator<= (const sc_timestamp &) const
 Overload <= operator.
bool operator> (const sc_timestamp &) const
 Overload > operator.
bool operator>= (const sc_timestamp &) const
 Overload >= operator.
sc_timestamp operator+ (const sc_timestamp &)
 Overload + operator.
const sc_timeget_time_count () const
 Get the value of timed cycles.
value_type get_delta_count () const
 Get the value of delta cycles.
bool get_infinite () const
 Check whether the time stamp is infinite.

Detailed Description

A time stamp combining timed cycles and delta cycles.

This class implements the time stamp of a process which contains both timed cycle counts and delta cycle counts. It records the local time of a process and is used in the Out-of-Order simulation.

Definition at line 427 of file sc_process.h.


Member Typedef Documentation

The data type of delta cycles.

Definition at line 434 of file sc_process.h.


Constructor & Destructor Documentation

sc_core::sc_timestamp::sc_timestamp (  ) 
sc_core::sc_timestamp::sc_timestamp ( sc_time  ,
value_type   
)
sc_core::sc_timestamp::sc_timestamp ( long  long,
int   
)
sc_core::sc_timestamp::sc_timestamp ( const sc_timestamp  ) 

Member Function Documentation

value_type sc_core::sc_timestamp::get_delta_count (  )  const

Get the value of delta cycles.

bool sc_core::sc_timestamp::get_infinite (  )  const

Check whether the time stamp is infinite.

const sc_time& sc_core::sc_timestamp::get_time_count (  )  const

Get the value of timed cycles.

bool sc_core::sc_timestamp::operator!= ( const sc_timestamp  )  const

Overload != operator.

sc_timestamp sc_core::sc_timestamp::operator+ ( const sc_timestamp  ) 

Overload + operator.

bool sc_core::sc_timestamp::operator< ( const sc_timestamp  )  const

Overload < operator.

bool sc_core::sc_timestamp::operator<= ( const sc_timestamp  )  const

Overload <= operator.

sc_timestamp& sc_core::sc_timestamp::operator= ( const sc_timestamp  ) 

Overload assignment operator.

bool sc_core::sc_timestamp::operator== ( const sc_timestamp  )  const

Overload == operator.

bool sc_core::sc_timestamp::operator> ( const sc_timestamp  )  const

Overload > operator.

bool sc_core::sc_timestamp::operator>= ( const sc_timestamp  )  const

Overload >= operator.


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

Generated on 31 Jul 2017 for SystemC by  doxygen 1.6.1