geopm
3.2.1.dev535+ga96c120fc
GEOPM - Global Extensible Open Power Manager
Loading...
Searching...
No Matches
libgeopmd
src
CombinedControl.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2015 - 2026 Intel Corporation
3
* SPDX-License-Identifier: BSD-3-Clause
4
*/
5
6
#ifndef COMBINEDCONTROL_HPP_INCLUDE
7
#define COMBINEDCONTROL_HPP_INCLUDE
8
9
10
namespace
geopm
11
{
14
class
CombinedControl
15
{
16
public
:
17
CombinedControl
();
18
CombinedControl
(
double
factor);
19
virtual
~CombinedControl
() =
default
;
21
virtual
double
adjust
(
double
setting);
22
private
:
23
double
m_factor;
24
};
25
}
26
27
#endif
geopm::CombinedControl::~CombinedControl
virtual ~CombinedControl()=default
geopm::CombinedControl::adjust
virtual double adjust(double setting)
Multiply setting by factor and return.
Definition
CombinedControl.cpp:22
geopm::CombinedControl::CombinedControl
CombinedControl()
Definition
CombinedControl.cpp:10
geopm
Definition
Agg.cpp:20
Generated by
1.15.0