Changeset 347 for XIOS/trunk/src/client.cpp
- Timestamp:
- 05/21/12 17:57:22 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/trunk/src/client.cpp
r346 r347 6 6 #include "context.hpp" 7 7 #include "context_client.hpp" 8 #include "tree_manager.hpp"9 8 #include "oasis_cinterface.hpp" 10 9 #include <mpi.h> 10 #include "timer.hpp" 11 11 12 12 namespace xios … … 130 130 { 131 131 CContext::setCurrent(id) ; 132 shared_ptr<CContext>context=CContext::create(id) ;132 CContext* context=CContext::create(id) ; 133 133 134 134 if (!CXios::isServer) … … 193 193 } 194 194 info(20) << "Client side context is finalized"<<endl ; 195 report(0) <<" Performance report : total time spent for XIOS : "<< CTimer::get("XIOS").getCumulatedTime()<<" s"<<endl ; 196 report(0)<< " Performance report : time spent for waiting free buffer : "<< CTimer::get("Blocking time").getCumulatedTime()<<" s"<<endl ; 197 report(0)<< " Performance report : Ratio : "<< CTimer::get("Blocking time").getCumulatedTime()/CTimer::get("XIOS").getCumulatedTime()*100.<<" %"<<endl ; 198 report(0)<< " Performance report : This ratio must be close to zero. Otherwise it may be usefull to increase buffer size or numbers of server"<<endl ; 195 199 } 196 200 }
Note: See TracChangeset
for help on using the changeset viewer.