Changeset 59 for sources/src/sc_time.cc
- Timestamp:
- Feb 6, 2017, 11:35:42 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/sc_time.cc
r52 r59 51 51 52 52 static const char *const unit_repr_string[6] = { 53 53 "FS", "PS", "NS", "US", "MS", "SEC" 54 54 }; 55 55 56 uint64 _tnb_cycles = 0;56 uint64 nb_cycles = 0; 57 57 58 58 const sc_time SC_ZERO_TIME(0, SC_NS); … … 66 66 67 67 sc_time::sc_time (double val, sc_time_unit tu) { 68 time = (uint64 _t) val;68 time = (uint64) val; 69 69 unit = tu; 70 70 }
Note: See TracChangeset
for help on using the changeset viewer.