Ignore:
Timestamp:
06/06/17 17:58:16 (7 years ago)
Author:
oabramkina
Message:

Two server levels: merging with trunk r1137.
There are bugs.

File:
1 edited

Legend:

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

    r652 r1158  
    33#include <string> 
    44#include <map> 
     5#include <iostream> 
     6#include <sstream> 
    57#include "tracer.hpp" 
    68 
     
    5759    return it->second; 
    5860  } 
     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  } 
    5969} 
Note: See TracChangeset for help on using the changeset viewer.