Ignore:
Timestamp:
11/19/18 15:52:54 (5 years ago)
Author:
yushan
Message:

branch_openmp merged with trunk r1597

File:
1 edited

Legend:

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

    r1158 r1601  
    2020      void reset(void); 
    2121      double getCumulatedTime(void); 
    22       static std::map<std::string,CTimer> allTimer; 
     22      static std::map<std::string,CTimer> *allTimer_ptr; 
     23      #pragma omp threadprivate(allTimer_ptr) 
    2324      static double getTime(void); 
    2425      static CTimer& get(std::string name); 
Note: See TracChangeset for help on using the changeset viewer.