Add function to handle a new input history record

This function will take a raw input power history
record and add it to the record manager cache.

The record manager will parse the raw record, validate
its sequence ID, and place it in the front of its
internal queue.  It prunes its queue if it needs to
or clears it out if the sequence ID is out of order.

Change-Id: I25eca05f30b45ae97801ff99a083cc8fd97a688a
Signed-off-by: Matt Spinler <spinler@us.ibm.com>
2 files changed
tree: ff7905412fb7449af6bd3f8a020d8b4feaf7f2b2
  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`.