geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
TimedScalingModelRegion.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 TIMEDSCALINGMODELREGION_HPP_INCLUDE
7 #define TIMEDSCALINGMODELREGION_HPP_INCLUDE
8 
9 #include <memory>
10 
11 #include "SpinModelRegion.hpp"
12 
13 namespace geopm
14 {
15  class ScalingModelRegion;
17  {
18  public:
19  TimedScalingModelRegion(double big_o_in,
20  int verbosity,
21  bool do_imbalance,
22  bool do_progress,
23  bool do_unmarked);
24  virtual ~TimedScalingModelRegion() = default;
25  void run_atom(void);
26  protected:
27  std::shared_ptr<ScalingModelRegion> m_scaling_model;
28  };
29 }
30 
31 #endif
Definition: SpinModelRegion.hpp:14
Definition: TimedScalingModelRegion.hpp:17
TimedScalingModelRegion(double big_o_in, int verbosity, bool do_imbalance, bool do_progress, bool do_unmarked)
Definition: TimedScalingModelRegion.cpp:11
virtual ~TimedScalingModelRegion()=default
void run_atom(void)
Definition: TimedScalingModelRegion.cpp:22
std::shared_ptr< ScalingModelRegion > m_scaling_model
Definition: TimedScalingModelRegion.hpp:27
Definition: Accumulator.cpp:12