geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
All2allModelRegion.hpp
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2015 - 2024 Intel Corporation
3  * SPDX-License-Identifier: BSD-3-Clause
4  */
5 
6 #ifndef ALL2ALLMODELREGION_HPP_INCLUDE
7 #define ALL2ALLMODELREGION_HPP_INCLUDE
8 
9 #include "geopm/ModelRegion.hpp"
10 
11 namespace geopm
12 {
14  {
15  public:
16  All2allModelRegion(double big_o_in,
17  int verbosity,
18  bool do_imbalance,
19  bool do_progress,
20  bool do_unmarked);
21  All2allModelRegion(const All2allModelRegion &other) = delete;
23  virtual ~All2allModelRegion();
24  void big_o(double big_o);
25  void run(void);
26  protected:
29  size_t m_num_send;
31  const size_t m_align;
32  int m_rank;
34  private:
35  void cleanup(void);
36  };
37 }
38 
39 #endif
Definition: All2allModelRegion.hpp:14
char * m_send_buffer
Definition: All2allModelRegion.hpp:27
char * m_recv_buffer
Definition: All2allModelRegion.hpp:28
bool m_is_mpi_enabled
Definition: All2allModelRegion.hpp:33
All2allModelRegion(double big_o_in, int verbosity, bool do_imbalance, bool do_progress, bool do_unmarked)
Definition: All2allModelRegion.cpp:23
size_t m_num_send
Definition: All2allModelRegion.hpp:29
int m_rank
Definition: All2allModelRegion.hpp:32
virtual ~All2allModelRegion()
Definition: All2allModelRegion.cpp:66
const size_t m_align
Definition: All2allModelRegion.hpp:31
int m_num_rank
Definition: All2allModelRegion.hpp:30
void run(void)
Definition: All2allModelRegion.cpp:113
All2allModelRegion(const All2allModelRegion &other)=delete
All2allModelRegion & operator=(const All2allModelRegion &other)=delete
Definition: ModelRegion.hpp:18
double big_o(void)
Definition: ModelRegion.cpp:113
Definition: Accumulator.cpp:12