geopm  3.1.1.dev272+gdfb40a8d
GEOPM - Global Extensible Open Power Manager
PlatformIOProf.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 PLATFORMIOPROF_HPP_INCLUDE
7 #define PLATFORMIOPROF_HPP_INCLUDE
8 
9 #include <string>
10 
11 #include "geopm_public.h"
12 
13 namespace geopm
14 {
15  class PlatformIO;
16  class GEOPM_PUBLIC PlatformIOProf {
17  public:
18  static PlatformIO &platform_io(void);
19  virtual ~PlatformIOProf() = default;
20  private:
21  GEOPM_PRIVATE
23  void GEOPM_PRIVATE
24  print_load_warning(const std::string &io_group_name,
25  const std::string &what) const;
26  PlatformIO &m_platform_io;
27  };
28 }
29 
30 #endif
Definition: PlatformIOProf.hpp:16
virtual ~PlatformIOProf()=default
Definition: Accumulator.cpp:12