geopm  3.1.1.dev214+gba4f9f6d
GEOPM - Global Extensible Open Power Manager
SleepModelRegion.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 SLEEPMODELREGION_HPP_INCLUDE
7 #define SLEEPMODELREGION_HPP_INCLUDE
8 
9 #include "geopm/ModelRegion.hpp"
10 
11 namespace geopm
12 {
14  {
15  public:
16  SleepModelRegion(double big_o_in,
17  int verbosity,
18  bool do_imbalance,
19  bool do_progress,
20  bool do_unmarked);
21  virtual ~SleepModelRegion();
22  void big_o(double big_o);
23  void run(void);
24  protected:
25  struct timespec m_delay;
26  };
27 }
28 
29 #endif
Definition: ModelRegion.hpp:18
double big_o(void)
Definition: ModelRegion.cpp:113
Definition: SleepModelRegion.hpp:14
void run(void)
Definition: SleepModelRegion.cpp:44
virtual ~SleepModelRegion()
Definition: SleepModelRegion.cpp:29
struct timespec m_delay
Definition: SleepModelRegion.hpp:25
SleepModelRegion(double big_o_in, int verbosity, bool do_imbalance, bool do_progress, bool do_unmarked)
Definition: SleepModelRegion.cpp:14
Definition: Accumulator.cpp:12