Changeset 2406 for XIOS3/trunk/src/node/context.hpp
- Timestamp:
- 09/20/22 16:37:37 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS3/trunk/src/node/context.hpp
r2405 r2406 160 160 // Distribute files (in write mode) among secondary-server pools according to the estimated data flux 161 161 void distributeFiles(const std::vector<CFile*>& files); 162 void distributeFileOverBandwith(const std::vector<CFile*>& files) ; 163 void distributeFileOverMemoryBandwith(const std::vector<CFile*>& files) ; 162 void distributeFileOverOne(const vector<CFile*>& files) ; //!< Distribute files over one single server (no distribution) 163 void distributeFileOverBandwith(const std::vector<CFile*>& files) ; //!< Distribute files overs servers to balance the I/O bandwith 164 void distributeFileOverMemoryBandwith(const std::vector<CFile*>& files) ; //!< Distribute files overs servers to minimize the memory consumption 164 165 166 public: 165 167 // Send context close definition 166 void sendCloseDefinition(void);167 public:168 168 void sendCloseDefinition(CContextClient* client) ; 169 169 private: … … 223 223 public: 224 224 void freeComms(void); //!< Free internally allcoated communicators 225 void releaseClientBuffers(void); //! Deallocate buffers allocated by clientContexts226 225 227 226 // dispatch event … … 309 308 bool hasServer; 310 309 311 CContextServer* server; //!< Concrete context server 312 CContextClient* client; //!< Concrete contex client 310 private: 313 311 std::vector<CContextServer*> serverPrimServer; 314 312 std::vector<CContextClient*> clientPrimServer; … … 321 319 std::string defaultWriterId ; 322 320 std::string defaultGathererId ; 321 322 std::vector<CContextClient*> writerClientOut_ ; 323 std::vector<CContextServer*> writerServerOut_ ; 324 std::vector<CContextClient*> writerClientIn_ ; 325 std::vector<CContextServer*> writerServerIn_ ; 326 327 std::vector<CContextClient*> readerClientOut_ ; 328 std::vector<CContextServer*> readerServerOut_ ; 329 std::vector<CContextClient*> readerClientIn_ ; 330 std::vector<CContextServer*> readerServerIn_ ; 331 323 332 324 333 std::map<std::string, CContextClient*> clients_ ;
Note: See TracChangeset
for help on using the changeset viewer.