Changeset 62 for sources/src/sc_time.cc


Ignore:
Timestamp:
Feb 16, 2017, 3:46:11 PM (7 years ago)
Author:
meunier
Message:
  • Functional (or supposedly functional) OpenMP support configure must be run with --enable-use-omp and the topcell must define the USE_OPENMP flag before including the .h files of systemcass (if openmp enabled).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • sources/src/sc_time.cc

    r60 r62  
    5555
    5656uint64 nb_cycles = 0;
     57#ifdef USE_OPENMP
    5758#pragma omp threadprivate(nb_cycles)
     59#endif
    5860
    5961const sc_time SC_ZERO_TIME(0, SC_NS);
Note: See TracChangeset for help on using the changeset viewer.