#include <sysc/kernel/sc_time.h>
Public Types | |
| typedef long long | value_type |
Public Member Functions | |
| sc_time () | |
| sc_time (double, sc_time_unit) | |
| sc_time (double, sc_time_unit, sc_simcontext *) | |
| sc_time (const sc_time &) | |
| sc_time (double, bool scale) | |
| sc_time (value_type, bool scale) | |
| sc_time & | operator= (const sc_time &) |
| value_type | value () const |
| double | to_double () const |
| double | to_default_time_units () const |
| double | to_seconds () const |
| const std::string | to_string () const |
| bool | operator== (const sc_time &) const |
| bool | operator!= (const sc_time &) const |
| bool | operator< (const sc_time &) const |
| bool | operator<= (const sc_time &) const |
| bool | operator> (const sc_time &) const |
| bool | operator>= (const sc_time &) const |
| sc_time & | operator+= (const sc_time &) |
| sc_time & | operator-= (const sc_time &) |
| sc_time & | operator*= (double) |
| sc_time & | operator/= (double) |
| sc_time & | operator%= (const sc_time &) |
| void | print (::std::ostream &os=std::cout) const |
Static Public Member Functions | |
| static sc_time | from_value (value_type) |
Friends | |
| const sc_time | operator+ (const sc_time &, const sc_time &) |
| const sc_time | operator- (const sc_time &, const sc_time &) |
| const sc_time | operator* (const sc_time &, double) |
| const sc_time | operator* (double, const sc_time &) |
| const sc_time | operator/ (const sc_time &, double) |
| double | operator/ (const sc_time &, const sc_time &) |
| const sc_time | operator% (const sc_time &, const sc_time &) |
Definition at line 73 of file sc_time.h.
| typedef long long sc_core::sc_time::value_type |
| sc_core::sc_time::sc_time | ( | double | , | |
| sc_time_unit | ||||
| ) |
| sc_core::sc_time::sc_time | ( | double | , | |
| sc_time_unit | , | |||
| sc_simcontext * | ||||
| ) |
| sc_core::sc_time::sc_time | ( | double | , | |
| bool | scale | |||
| ) |
| sc_core::sc_time::sc_time | ( | value_type | , | |
| bool | scale | |||
| ) |
| static sc_time sc_core::sc_time::from_value | ( | value_type | ) | [static] |
| bool sc_core::sc_time::operator!= | ( | const sc_time & | t | ) | const [inline] |
| sc_time & sc_core::sc_time::operator*= | ( | double | d | ) | [inline] |
| sc_time & sc_core::sc_time::operator/= | ( | double | d | ) | [inline] |
| bool sc_core::sc_time::operator< | ( | const sc_time & | t | ) | const [inline] |
| bool sc_core::sc_time::operator<= | ( | const sc_time & | t | ) | const [inline] |
| bool sc_core::sc_time::operator== | ( | const sc_time & | t | ) | const [inline] |
| bool sc_core::sc_time::operator> | ( | const sc_time & | t | ) | const [inline] |
| bool sc_core::sc_time::operator>= | ( | const sc_time & | t | ) | const [inline] |
| void sc_core::sc_time::print | ( | ::std::ostream & | os = std::cout |
) | const |
| double sc_core::sc_time::to_default_time_units | ( | ) | const |
| double sc_core::sc_time::to_seconds | ( | ) | const |
| const std::string sc_core::sc_time::to_string | ( | ) | const |
| sc_time::value_type sc_core::sc_time::value | ( | ) | const [inline] |
1.6.1