geopm  3.1.1.dev296+g5916b956
GEOPM - Global Extensible Open Power Manager
GEOPMBenchConfig.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 GEOPMBENCHCONFIG_HPP_INCLUDE
7 #define GEOPMBENCHCONFIG_HPP_INCLUDE
8 
9 namespace geopm
10 {
12  {
13  public:
14  GEOPMBenchConfig() = default;
15  virtual ~GEOPMBenchConfig() = default;
16 
17  virtual bool is_mpi_enabled() const = 0;
18  };
19 
21  {
22  public:
25  virtual ~GEOPMBenchConfigImp() = default;
26 
27  bool is_mpi_enabled() const override;
28 
29  private:
30  bool m_is_mpi_enabled;
31  };
32 
34 }
35 
36 #endif
Definition: GEOPMBenchConfig.hpp:12
virtual ~GEOPMBenchConfig()=default
virtual bool is_mpi_enabled() const =0
Definition: GEOPMBenchConfig.hpp:21
virtual ~GEOPMBenchConfigImp()=default
GEOPMBenchConfigImp()
Definition: GEOPMBenchConfig.cpp:18
bool is_mpi_enabled() const override
Definition: GEOPMBenchConfig.cpp:28
Definition: Accumulator.cpp:12
const GEOPMBenchConfig & geopmbench_config(void)
Definition: GEOPMBenchConfig.cpp:12