Ignore:
Timestamp:
11/16/17 16:20:41 (6 years ago)
Author:
yushan
Message:

dev_omp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_openmp/src/timer.hpp

    r1328 r1331  
    2222      //static std::map<std::string,CTimer> allTimer; 
    2323      static std::map<std::string,CTimer> *allTimer_ptr; 
     24      #pragma omp threadprivate(allTimer_ptr) 
    2425      static double getTime(void); 
    2526      static CTimer& get(std::string name); 
Note: See TracChangeset for help on using the changeset viewer.