Changeset 1158 for XIOS/dev/dev_olga/src/timer.cpp
- Timestamp:
- 06/06/17 17:58:16 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_olga/src/timer.cpp
r652 r1158 3 3 #include <string> 4 4 #include <map> 5 #include <iostream> 6 #include <sstream> 5 7 #include "tracer.hpp" 6 8 … … 57 59 return it->second; 58 60 } 61 62 string CTimer::getAllCumulatedTime(void) 63 { 64 std::ostringstream strOut ; 65 for(std::map<std::string,CTimer>::iterator it=allTimer.begin();it!=allTimer.end();++it) 66 strOut<<"Timer : "<<it->first<<" --> cumulated time : "<<it->second.getCumulatedTime()<<std::endl ; 67 return strOut.str() ; 68 } 59 69 }
Note: See TracChangeset
for help on using the changeset viewer.