Change sensor Value to double

Generally most demons we've looked at take the int64 values and
immediately translates the value to a double. As the individual demons
are doing the floating point computation anyway, there doesn't seem to be
a large benefit to keeping separating the value on dbus, only to recompute
in each demon, causing extra overhead for consumers. In some cases this
causes an extra d-bus call, for instance when reading a threshold a
consumer to know the value needs to also access the value field to get
the scale, which is arguably more expensive than having the property be a
double in the first place.

Change-Id: If47c19f77286e3764d167a6843ba91e2ca1769b8
Signed-off-by: James Feist <james.feist@linux.intel.com>
3 files changed
tree: dbfd640519af2763fa2a1e590a97ca18e52ca4a8
  1. com/
  2. org/
  3. xyz/
  4. .gitignore
  5. bootstrap.sh
  6. configure.ac
  7. generate_makefile.sh
  8. generate_yaml_makefile.sh
  9. LICENSE
  10. MAINTAINERS
  11. Makefile.am
  12. Makefile.interfaces.in
  13. Makefile.yaml.in
  14. phosphor-dbus-interfaces.pc.in
  15. README.md
README.md

phosphor-dbus-interfaces

YAML descriptors of standard D-Bus interfaces. The format is described by the sdbusplus binding generation tool sdbus++.

Only the xyz/openbmc_project interfaces are built by default.

Enable the OpenPower D-Bus interfaces with:

--enable-openpower-dbus-interfaces

Enable IBM D-Bus interfaces with:

--enable-ibm-dbus-interfaces