geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
EndpointPolicyTracer.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 ENDPOINTPOLICYTRACER_HPP_INCLUDE
7 #define ENDPOINTPOLICYTRACER_HPP_INCLUDE
8 
9 #include <vector>
10 #include <memory>
11 
12 namespace geopm
13 {
15  {
16  public:
17  EndpointPolicyTracer() = default;
18  virtual ~EndpointPolicyTracer() = default;
19  virtual void update(const std::vector<double> &policy) = 0;
20  static std::unique_ptr<EndpointPolicyTracer> make_unique(void);
21  };
22 }
23 
24 #endif
Definition: EndpointPolicyTracer.hpp:15
virtual void update(const std::vector< double > &policy)=0
virtual ~EndpointPolicyTracer()=default
static std::unique_ptr< EndpointPolicyTracer > make_unique(void)
Definition: EndpointPolicyTracer.cpp:23
Definition: Accumulator.cpp:12