Changeset 2307


Ignore:
Timestamp:
03/09/22 17:29:34 (2 years ago)
Author:
ymipsl
Message:

When output info, context id is written for received event on server side.
YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_COUPLING/src/context_server.cpp

    r2287 r2307  
    306306        buffers[rank]->updateCurrentWindows() ; 
    307307        buffers[rank]->freeBuffer(count) ; 
    308         info(100)<<"Receive NotifyChangeBufferSize from client rank "<<rank<<endl ; 
     308        info(100)<<"Context id "<<context->getId()<<" : Receive NotifyChangeBufferSize from client rank "<<rank<<endl ; 
    309309      }  
    310310      else if (timeLine==timelineEventChangeBufferSize) 
     
    316316        delete buffers[rank] ; 
    317317        buffers[rank] = new CServerBuffer(windows_[rank], winAdress, 0, newSize) ; 
    318         info(100)<<"Receive ChangeBufferSize from client rank "<<rank<<"  newSize : "<<newSize<<" Address : "<<winAdress[0]<<" & "<<winAdress[1]<<endl ; 
     318        info(100)<<"Context id "<<context->getId()<<" : Receive ChangeBufferSize from client rank "<<rank 
     319                 <<"  newSize : "<<newSize<<" Address : "<<winAdress[0]<<" & "<<winAdress[1]<<endl ; 
    319320      } 
    320321      else 
    321322      { 
    322         info(100)<<"Receive standard event from client rank "<<rank<<"  with timeLine : "<<timeLine<<endl ; 
     323        info(100)<<"Context id "<<context->getId()<<" : Receive standard event from client rank "<<rank<<"  with timeLine : "<<timeLine<<endl ; 
    323324        it=events.find(timeLine); 
    324325        if (it==events.end()) it=events.insert(pair<int,CEventServer*>(timeLine,new CEventServer(this))).first; 
     
    384385         isProcessingEvent_=true ; 
    385386         CTimer::get("Process events").resume(); 
    386          info(100)<<"Received Event "<<currentTimeLine<<" of class "<<event->classId<<" of type "<<event->type<<endl ; 
     387         info(100)<<"Context id "<<context->getId()<<" : Process Event "<<currentTimeLine<<" of class "<<event->classId<<" of type "<<event->type<<endl ; 
    387388         dispatchEvent(*event); 
    388389         CTimer::get("Process events").suspend(); 
Note: See TracChangeset for help on using the changeset viewer.