Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information
Showing
3 changed files
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters