Changeset 1160 for XIOS/dev/branch_yushan_merged/src/node/context.cpp
- Timestamp:
- 06/06/17 19:06:45 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/branch_yushan_merged/src/node/context.cpp
r1157 r1160 14 14 #include "type.hpp" 15 15 #include "xios_spl.hpp" 16 #include "timer.hpp"17 #include "memtrack.hpp"18 16 19 17 namespace xios { … … 403 401 void CContext::closeDefinition(void) 404 402 { 405 CTimer::get("Context : close definition").resume() ;406 403 // There is nothing client need to send to server 407 404 if (hasClient) … … 457 454 startPrefetchingOfEnabledReadModeFiles(); 458 455 } 459 CTimer::get("Context : close definition").suspend() ;460 456 } 461 457 … … 1211 1207 { 1212 1208 calendar->update(step); 1213 #ifdef XIOS_MEMTRACK_LIGHT 1214 #pragma omp critical (_output) 1215 info(50) << " Current memory used by XIOS : "<< MemTrack::getCurrentMemorySize()*1.0/(1024*1024)<<" Mbyte, at timestep "<<step<<" of context "<<this->getId()<<endl ; 1216 #endif 1209 1217 1210 1218 1211 if (hasClient)
Note: See TracChangeset
for help on using the changeset viewer.