diff options
Diffstat (limited to 'occ_device.cpp')
-rw-r--r-- | occ_device.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/occ_device.cpp b/occ_device.cpp index 8129502..b100d46 100644 --- a/occ_device.cpp +++ b/occ_device.cpp @@ -1,5 +1,6 @@ #include <iostream> #include "occ_device.hpp" +#include "occ_status.hpp" namespace open_power { @@ -25,5 +26,20 @@ bool Device::master() const return (master != 0); } +void Device::throttleProcTempCallback(bool error) +{ + statusObject.throttleProcTemp(error); +} + +void Device::throttleProcPowerCallback(bool error) +{ + statusObject.throttleProcPower(error); +} + +void Device::throttleMemTempCallback(bool error) +{ + statusObject.throttleMemTemp(error); +} + } // namespace occ } // namespace open_power |