commit | 594fcf31badea8233cda839c740c2a812303f2ca | [log] [tgz] |
---|---|---|
author | Onath Claridge <claridge@google.com> | Tue Jul 23 15:55:56 2019 -0700 |
committer | Onath Claridge <claridge@google.com> | Tue Jul 23 17:52:24 2019 -0700 |
tree | cacdec92465958770e388896cc67bd0be59c06db | |
parent | ffe5eff39d77cef50e5ec738815c9d7696de9fe4 [diff] |
Support power calculation and CSV header line. If --header is specified, then a header line is generated for the CSV output. If --resistance is set to a positive number (should be the shunt resistance for the zedmon unit), then power is calculated and included in the output. Change-Id: Id84cf6d38e7d90e3eab02046ffaa1a4ce24af703
Zedmon is a device for measuring power consumption of electronics. It was created to assist the Fuchsia power management efforts.