summaryrefslogtreecommitdiffstats
path: root/pid/buildjson.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add stepwise parserHank Liou2019-05-281-19/+62
| | | | | | | | The json parser cannot read stepwise setting from config. This change adds support to stepwise type of pid. Change-Id: I650c5bd6a0040bf25630e33b3bd36abf388f0cd8 Signed-off-by: Hank Liou <Hank.Liou@quantatw.com>
* bugfix: grab hystersis parameter from pid jsonPatrick Venture2019-03-261-2/+2
| | | | | | | | | | The code incorrectly attempts to read the hystersis parameters from the wrong scope of the json object. This fixes it to read from the pid configuration's scope. Tested: Added a new unit-test to hit this case. Change-Id: I808bc907ec33a0b12d68a88fd316c3c9fae41516 Signed-off-by: Patrick Venture <venture@google.com>
* Expand conf namespaceJames Feist2019-02-261-7/+11
| | | | | | | | | Put rest of conf.hpp in the conf namespace. This is largely a sed replace, and wrapping from_json in conf namespace as it failed to build. Change-Id: I9fe5c7b2fface44618c43af2367035afc39bcb64 Signed-off-by: James Feist <james.feist@linux.intel.com>
* s/minThermalRPM/minThermalOutputJames Feist2019-02-261-1/+1
| | | | | | | | | | The minThermalRPM is only an RPM by the fact that that is the units of the PID. As the PID units can be anything, change this to minThermalOutput to allow for different units (i.e. percent). Change-Id: Ic53fef1159ade5a413e5d519d407947f3023d8e3 Signed-off-by: James Feist <james.feist@linux.intel.com>
* conf change: s/feedFwdOffOffsetCoeff/feedFwdOffsetCoeff/gPatrick Venture2019-02-201-1/+1
| | | | | | | Fixup spelling mistake for configuration field name. Change-Id: I92d0af06f4e15f4408dd10f0dd9cd71099b77f4f Signed-off-by: Patrick Venture <venture@google.com>
* add support to build zones and PIDs from jsonPatrick Venture2019-02-111-0/+106
Add support to build zones and PIDs from a json configuration file. Change-Id: If8608dcd3e084cebabb71fc39851044df4d5d7c2 Signed-off-by: Patrick Venture <venture@google.com>
OpenPOWER on IntegriCloud