42 const sc_time
operator + (
const sc_time&,
const sc_time& );
43 const sc_time
operator - (
const sc_time&,
const sc_time& );
44 const sc_time
operator * (
const sc_time&,
double );
45 const sc_time
operator * (
double,
const sc_time& );
46 const sc_time
operator / (
const sc_time&,
double );
47 double operator / (
const sc_time&,
const sc_time& );
141 void print( ::std::ostream& os = std::cout )
const;
165 : m_value( t.m_value )
204 return ( m_value == t.m_value );
211 return ( m_value != t.m_value );
218 return ( m_value < t.m_value );
225 return ( m_value <= t.m_value );
232 return ( m_value > t.m_value );
239 return ( m_value >= t.m_value );
249 m_value += t.m_value;
257 m_value -= t.m_value;
283 m_value = SCAST<sc_dt::int64>( tmp );
293 m_value = SCAST<sc_dt::int64>( tmp );
301 m_value %= t.m_value;
void sc_set_time_resolution(double, sc_time_unit)
const sc_time operator*(const sc_time &, double)
const std::string to_string() const
friend const sc_time operator+(const sc_time &, const sc_time &)
bool time_resolution_fixed
static sc_time from_value(value_type)
sc_time & operator=(const sc_time &)
inline::std::ostream & operator<<(::std::ostream &os, const sc_fifo< T > &a)
bool default_time_unit_specified
sc_time sc_get_time_resolution()
double to_seconds() const
sc_time sc_get_default_time_unit()
sc_time & operator*=(double)
const sc_time operator%(const sc_time &t1, const sc_time &t2)
sc_time & operator/=(double)
sc_time & operator%=(const sc_time &)
sc_time::value_type default_time_unit
friend const sc_time operator%(const sc_time &, const sc_time &)
const sc_time operator-(const sc_time &, const sc_time &)
bool operator==(const sc_time &) const
bool operator<=(const sc_time &) const
bool operator!=(const sc_time &) const
bool time_resolution_specified
sc_time & operator+=(const sc_time &)
friend const sc_time operator*(const sc_time &, double)
double to_default_time_units() const
friend const sc_time operator/(const sc_time &, double)
const sc_time SC_ZERO_TIME
const sc_time operator/(const sc_time &, double)
const sc_time operator+(const sc_time &, const sc_time &)
double uint64_to_double(uint64 a)
sc_time & operator-=(const sc_time &)
bool operator>(const sc_time &) const
bool operator>=(const sc_time &) const
friend const sc_time operator-(const sc_time &, const sc_time &)
bool operator<(const sc_time &) const
void print(::std::ostream &os=std::cout) const
void sc_set_default_time_unit(double, sc_time_unit)