geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
StreamModelRegion.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 STREAMMODELREGION_HPP_INCLUDE
7 #define STREAMMODELREGION_HPP_INCLUDE
8 
9 #include "geopm/ModelRegion.hpp"
10 
11 namespace geopm
12 {
14  {
15  public:
16  StreamModelRegion(double big_o_in,
17  int verbosity,
18  bool do_imbalance,
19  bool do_progress,
20  bool do_unmarked);
21  StreamModelRegion(const StreamModelRegion &other) = delete;
23  virtual ~StreamModelRegion();
24  void big_o(double big_o);
25  void run(void);
26  protected:
27  double *m_array_a;
28  double *m_array_b;
29  double *m_array_c;
30  size_t m_array_len;
31  const size_t m_align;
32  private:
33  void cleanup(void);
34  };
35 }
36 
37 #endif
Definition: ModelRegion.hpp:18
double big_o(void)
Definition: ModelRegion.cpp:113
Definition: StreamModelRegion.hpp:14
void run(void)
Definition: StreamModelRegion.cpp:89
double * m_array_a
Definition: StreamModelRegion.hpp:27
StreamModelRegion & operator=(const StreamModelRegion &other)=delete
StreamModelRegion(double big_o_in, int verbosity, bool do_imbalance, bool do_progress, bool do_unmarked)
Definition: StreamModelRegion.cpp:18
size_t m_array_len
Definition: StreamModelRegion.hpp:30
const size_t m_align
Definition: StreamModelRegion.hpp:31
StreamModelRegion(const StreamModelRegion &other)=delete
double * m_array_c
Definition: StreamModelRegion.hpp:29
virtual ~StreamModelRegion()
Definition: StreamModelRegion.cpp:38
double * m_array_b
Definition: StreamModelRegion.hpp:28
Definition: Accumulator.cpp:12