commit | 57e18b941ba4745686416e4ad8bb2258dd0d7fe9 | [log] [tgz] |
---|---|---|
author | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Oct 07 18:10:49 2019 -0400 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Mon Oct 07 18:11:52 2019 -0400 |
tree | 8374d1cb4db04e0dca7e8612d6db3e83247b13b9 | |
parent | bd9bc00b8d7ce2e6631e81a9696addbc399be388 [diff] |
test: average: avoid unwanted implicit type deduction Avoid undesired implicit type deduction of std::make_pair with integer literal arguments. Ensure the correct type of int64_t is always deduced; long is not 64 bits wide on all platforms. Change-Id: I48bbb8a9f4f8a9a0fececdd03052a7dbdeefd69c Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Exposes generic hwmon entries as DBus objects. More information can be found at Sensor Architecture
To build this package, do the following steps: 1. ./bootstrap.sh 2. ./configure ${CONFIGURE_FLAGS} 3. make To clean the repository run `./bootstrap.sh clean`.
To enable the use of Linux features like cgroups prioritization and udev/systemd control, one instance of phosphor-hwmon is intended to be run per hwmon sysfs class instance. This requires an algorithm for selecting a stable, well-known D-Bus busname. The algorithm is <PREFIX>-<ID>.Hwmon<N> where PREFIX is an autoconf configurable prefix (BUSNAME_PREFIX, xyz.openbmc_project by default), ID is a std::hash of the /sys/devices path backing the hwmon class instance, and N is the implemented phosphor-hwmon D-Bus API version.