Add Average and Maximum classes

These classes will implement the
xyz.openbmc_project.Sensor.Aggregation.History.Average/Maximum
interfaces.   Each of these interfaces contains an array of
value/timestamp entries, where the value is either the average
or maximum power as reported by the power supply.  The most recent
value will always be in element 0 of the array.

Change-Id: I41b0b84abe146c57f23629bd50acbf9e7fb746ab
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
4 files changed
tree: 6a755d3e40b22274eca87a4b6a232dac68e91c78
  1. org/
  2. power-sequencer/
  3. power-supply/
  4. test/
  5. .gitignore
  6. argument.hpp
  7. bootstrap.sh
  8. configure.ac
  9. device.hpp
  10. device_monitor.hpp
  11. elog-errors.hpp
  12. event.hpp
  13. file.hpp
  14. gpio.cpp
  15. gpio.hpp
  16. LICENSE
  17. Makefile.am
  18. names_values.hpp
  19. pmbus.cpp
  20. pmbus.hpp
  21. README.md
  22. timer.cpp
  23. timer.hpp
  24. utility.cpp
  25. utility.hpp
README.md

Code for detecting and analyzing power faults on Witherspoon.

To Build

To build this package, do the following steps:

    1. ./bootstrap.sh
    2. ./configure ${CONFIGURE_FLAGS}
    3. make

To full clean the repository again run `./bootstrap.sh clean`.