- Timestamp:
- 10/11/21 14:41:56 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_COUPLING/src/manager/servers_ressource.cpp
r2220 r2246 5 5 #include "cxios.hpp" 6 6 #include "mpi.hpp" 7 #include "timer.hpp" 7 8 #include <vector> 8 9 #include <string> … … 115 116 bool CServersRessource::eventLoop(bool serviceOnly) 116 117 { 117 checkNotifications() ; 118 CTimer::get("CServersRessource::eventLoop").resume(); 119 double time=MPI_Wtime() ; 120 if (time-lastEventLoop_ > eventLoopLatency_) 121 { 122 checkNotifications() ; 123 lastEventLoop_=time ; 124 } 125 118 126 if (poolRessource_!=nullptr) 119 127 { … … 124 132 } 125 133 } 126 134 CTimer::get("CServersRessource::eventLoop").suspend(); 127 135 if (poolRessource_==nullptr && finalizeSignal_) return true ; 128 136 else return false ;
Note: See TracChangeset
for help on using the changeset viewer.