Changeset 59 for sources/src/sc_time.cc


Ignore:
Timestamp:
Feb 6, 2017, 11:35:42 AM (8 years ago)
Author:
meunier
Message:
  • Fixed memory leaks
  • Fixed indentation in some files
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/sc_time.cc

    r52 r59  
    5151
    5252static const char *const unit_repr_string[6] = {
    53         "FS", "PS", "NS", "US", "MS", "SEC"
     53    "FS", "PS", "NS", "US", "MS", "SEC"
    5454};
    5555
    56 uint64_t nb_cycles = 0;
     56uint64 nb_cycles = 0;
    5757
    5858const sc_time SC_ZERO_TIME(0, SC_NS);
     
    6666
    6767sc_time::sc_time (double val, sc_time_unit tu) {
    68     time = (uint64_t) val;
     68    time = (uint64) val;
    6969    unit = tu;
    7070}
Note: See TracChangeset for help on using the changeset viewer.