summaryrefslogtreecommitdiffstats
path: root/pid/builder.hpp
blob: e5005038d05102f26ad515f0bcecd23d54327ce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "pid/zone.hpp"
#include "sensors/manager.hpp"

#include <memory>
#include <sdbusplus/bus.hpp>
#include <unordered_map>

std::unordered_map<int64_t, std::unique_ptr<PIDZone>>
    buildZones(std::map<int64_t, conf::PIDConf>& zonePids,
               std::map<int64_t, struct conf::ZoneConfig>& zoneConfigs,
               SensorManager& mgr, sdbusplus::bus::bus& modeControlBus);
OpenPOWER on IntegriCloud