Changeset 1750 for XIOS/dev/dev_ym/XIOS_ONE_SIDED/src/timer.hpp
- Timestamp:
- 10/18/19 14:30:54 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_ONE_SIDED/src/timer.hpp
r1158 r1750 13 13 double lastTime; 14 14 bool suspended; 15 bool isTracing_ ; 15 16 std::string name; 16 17 17 CTimer(const std::string& name );18 CTimer(const std::string& name, bool trace=true); 18 19 void suspend(void); 19 20 void resume(void); … … 22 23 static std::map<std::string,CTimer> allTimer; 23 24 static double getTime(void); 24 static CTimer& get(std::string name );25 static CTimer& get(std::string name, bool trace=true); 25 26 static std::string getAllCumulatedTime(void) ; 26 27 };
Note: See TracChangeset
for help on using the changeset viewer.