commit | 836dbabba6b20aac2e227a1eea32693c5a5056da | [log] [tgz] |
---|---|---|
author | Kuan-Lin Lee <kuanlinlee@google.com> | Fri Jun 17 21:22:47 2022 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 23 23:55:55 2022 |
tree | 4c2a1a4443f56e3fdc5a7942aeeb6092e1c9cd73 | |
parent | 3642497d8d236ef484e06e9d138d94a2e52adce4 [diff] |
Start a http server with thread in the dut power, this server can pass the dut power's measurement data to the UI One issue: 1. Need to press crtl-c to stop the http server and release the port after we finish to run the function, if we do not press crtl-c, current using port will be congestion BUG=b:203692086 sudo servod in chroot, and open another chroot TEST=dut-power -t 10 TEST=dut-power -t 10 --visualization TEST=dut-power -t 10 --visualization --visualization-port 9997 TEST=dut-power -t 10 --visualization --visualization-port 0 Change-Id: I66cae8714c3bbd514750510cf5d8f86684da7c4b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/hdctools/+/3712133 Commit-Queue: Ziting Shen <zitingshen@google.com> Reviewed-by: Kuan-Lin Lee <kuanlinlee@google.com> Reviewed-by: Ziting Shen <zitingshen@google.com> Tested-by: 488603086791@cloudbuild.gserviceaccount.com <488603086791@cloudbuild.gserviceaccount.com>
This repository contains source code and documentation for the Servo debug boards. The tools in this repository require the full CrOS chroot, while the Standalone hdctools can be used without the chroot.