Changeset 59 for sources/src/sc_time.h
- Timestamp:
- Feb 6, 2017, 11:35:42 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sources/src/sc_time.h
r52 r59 15 15 16 16 #include <string> 17 #include <stdint.h> 17 //#include <stdint.h> 18 19 #include "sc_nbdefs.h" 18 20 19 21 namespace sc_core { … … 40 42 extern sc_time SC_CURRENT_TIME; 41 43 42 extern uint64 _tnb_cycles;44 extern uint64 nb_cycles; 43 45 44 46 inline double sc_simulation_time() { … … 55 57 56 58 friend const sc_time & sc_time_stamp(); 57 uint64 _ttime;59 uint64 time; 58 60 enum sc_time_unit unit; 59 61 … … 64 66 sc_time & operator= (const sc_time &); 65 67 66 uint64 _tvalue() const {68 uint64 value() const { 67 69 return time; 68 70 }
Note: See TracChangeset
for help on using the changeset viewer.