Changeset 1646 for XIOS/dev/dev_trunk_omp/src/context_server.cpp
- Timestamp:
- 01/31/19 12:12:52 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_trunk_omp/src/context_server.cpp
r1601 r1646 18 18 #include <boost/functional/hash.hpp> 19 19 20 #ifdef _usingEP 20 21 using namespace ep_lib; 22 #endif 21 23 22 24 namespace xios … … 265 267 finished=true; 266 268 #pragma omp critical (_output) 267 info(20)<<" CContextServer: Receive context <"<<context->getId()<<"> finalize."<<endl; 269 { 270 info(20)<<" CContextServer: Receive context <"<<context->getId()<<"> finalize."<<endl; 271 } 268 272 context->finalize(); 269 273 std::map<int, StdSize>::const_iterator itbMap = mapBufferSize_.begin(), … … 273 277 rank = itMap->first; 274 278 #pragma omp critical (_output) 275 report(10)<< " Memory report : Context <"<<ctxId<<"> : server side : memory used for buffer of each connection to client" << endl 279 { 280 report(10)<< " Memory report : Context <"<<ctxId<<"> : server side : memory used for buffer of each connection to client" << endl 276 281 << " +) With client of rank " << rank << " : " << itMap->second << " bytes " << endl; 282 } 277 283 totalBuf += itMap->second; 278 284 } 279 285 #pragma omp critical (_output) 280 report(0)<< " Memory report : Context <"<<ctxId<<"> : server side : total memory used for buffer "<<totalBuf<<" bytes"<<endl; 286 { 287 report(0)<< " Memory report : Context <"<<ctxId<<"> : server side : total memory used for buffer "<<totalBuf<<" bytes"<<endl; 288 } 281 289 } 282 290 else if (event.classId==CContext::GetType()) CContext::dispatchEvent(event);
Note: See TracChangeset
for help on using the changeset viewer.