Changeset 62 for sources/src/sc_time.h


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.h

    r60 r62  
    1515
    1616#include <string>
    17 //#include <stdint.h>
    1817
    1918#include "sc_nbdefs.h"
     
    4342
    4443extern uint64 nb_cycles;
     44#ifdef USE_OPENMP
    4545#pragma omp threadprivate(nb_cycles)
     46#endif
    4647
    4748inline double sc_simulation_time() {
Note: See TracChangeset for help on using the changeset viewer.