Ignore:
Timestamp:
07/10/17 18:17:04 (7 years ago)
Author:
yushan
Message:

branch merged with trunk @1200

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/branch_yushan_merged/src/timer.cpp

    r1160 r1205  
    33#include <string> 
    44#include <map> 
    5 #include "tracer.hpp" 
    65#include <iostream> 
    76#include <sstream> 
     7#include "tracer.hpp" 
    88 
    99namespace xios 
     
    6969  } 
    7070 
     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  } 
    7178} 
Note: See TracChangeset for help on using the changeset viewer.