Ignore:
Timestamp:
09/09/22 17:23:16 (22 months ago)
Author:
ymipsl
Message:

-Fix performance issue in one_sided protocol

  • better timer instrumentation of the protocol

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/timer.hpp

    r2274 r2399  
    2020      void resume(void); 
    2121      void reset(void); 
     22      void add(double time) { cumulatedTime+=time ;} 
     23      void minus(double time) { cumulatedTime-=time ;} 
    2224      double getCumulatedTime(void); 
    2325      static std::map<std::string,CTimer> allTimer; 
     
    2628      static std::string getAllCumulatedTime(void) ; 
    2729      static void release(void) { allTimer.clear() ;} 
     30      bool isSuspended() { return suspended; } 
    2831  }; 
    2932} 
Note: See TracChangeset for help on using the changeset viewer.