Changeset 1156 for XIOS/dev/branch_yushan_merged/src/timer.cpp
- Timestamp:
- 06/06/17 15:52:13 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan_merged/src/timer.cpp
r1134 r1156 3 3 #include <string> 4 4 #include <map> 5 #include <iostream> 6 #include <sstream> 5 7 #include "tracer.hpp" 6 8 … … 66 68 return it->second; 67 69 } 70 71 string CTimer::getAllCumulatedTime(void) 72 { 73 std::ostringstream strOut ; 74 for(std::map<std::string,CTimer>::iterator it=allTimer.begin();it!=allTimer.end();++it) 75 strOut<<"Timer : "<<it->first<<" --> cumulated time : "<<it->second.getCumulatedTime()<<std::endl ; 76 return strOut.str() ; 77 } 68 78 }
Note: See TracChangeset
for help on using the changeset viewer.