source: XIOS3/trunk/src/transport/p2p_cs_buffer_base.hpp

Last change on this file was 2607, checked in by jderouillat, 5 months ago

In the P2P protocol, forces to allocate the fixed buffer if it is defined, accept more buffers in the growth phase. Add a missing timer in the interface

  • Property svn:executable set to *
File size: 546 bytes
Line 
1#ifndef __P2P_CS_BUFFER_BASE_HPP__
2#define __P2P_CS_BUFFER_BASE_HPP__
3
4#include "xios_spl.hpp"
5#include "buffer_out.hpp"
6#include "mpi.hpp"
7#include "cxios.hpp"
8#include "event_client.hpp"
9#include <limits>
10
11namespace xios
12{
13  class CP2pCSBufferBase 
14  {
15    protected :
16
17      const int controlSize_ = 2 ;
18      const int CONTROL_ADDR = 0 ;
19      const int CONTROL_FINALIZE = 1  ;
20
21      const size_t EVENT_BUFFER_RESIZE = std::numeric_limits<size_t>::max()-1 ;
22      const int MAX_WINDOWS=60 ;
23
24
25  } ;
26
27}
28
29
30#endif
Note: See TracBrowser for help on using the repository browser.