geopm 3.1.1.dev586+g1cf8a52b
GEOPM - Global Extensible Open Power Manager
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
ScalingModelRegion.hpp
Go to the documentation of this file.
1/*
2 * Copyright (c) 2015 - 2025 Intel Corporation
3 * SPDX-License-Identifier: BSD-3-Clause
4 */
5
6#ifndef SCALINGMODELREGION_HPP_INCLUDE
7#define SCALINGMODELREGION_HPP_INCLUDE
8
9#include <vector>
10#include <string>
11#include <cstdint>
12#include "geopm/ModelRegion.hpp"
13
14namespace geopm
15{
17 {
18 public:
19 ScalingModelRegion(double big_o_in,
20 int verbosity,
21 bool do_imbalance,
22 bool do_progress,
23 bool do_unmarked);
24 virtual ~ScalingModelRegion();
25 ScalingModelRegion(const ScalingModelRegion &other) = delete;
27 void big_o(double big_o);
28 void run(void);
29 void run_atom(void);
30 protected:
31 size_t llc_size(void);
32
33 std::string m_sysfs_cache_dir;
38 size_t m_num_atom;
39 std::vector<double *> m_arrays;
40 };
41}
42
43#endif
Definition ModelRegion.hpp:18
double big_o(void)
Definition ModelRegion.cpp:113
Definition ScalingModelRegion.hpp:17
std::vector< double * > m_arrays
Definition ScalingModelRegion.hpp:39
void run_atom(void)
Definition ScalingModelRegion.cpp:111
size_t m_llc_slop_size
Definition ScalingModelRegion.hpp:34
size_t m_element_size
Definition ScalingModelRegion.hpp:35
virtual ~ScalingModelRegion()
Definition ScalingModelRegion.cpp:66
void run(void)
Definition ScalingModelRegion.cpp:155
size_t m_rank_per_node
Definition ScalingModelRegion.hpp:36
size_t m_num_atom
Definition ScalingModelRegion.hpp:38
size_t llc_size(void)
Definition ScalingModelRegion.cpp:73
std::string m_sysfs_cache_dir
Definition ScalingModelRegion.hpp:33
ScalingModelRegion & operator=(const ScalingModelRegion &other)=delete
ScalingModelRegion(const ScalingModelRegion &other)=delete
size_t m_array_len
Definition ScalingModelRegion.hpp:37
Definition Accumulator.cpp:12