summaryrefslogtreecommitdiffstats
path: root/xyz/openbmc_project
diff options
context:
space:
mode:
authorTom Joseph <tomjoseph@in.ibm.com>2018-02-16 09:14:45 +0530
committerTom Joseph <tomjoseph@in.ibm.com>2018-03-01 05:34:21 +0000
commit0ac0dd232627d9c44e53d41e2e6509a0471f013d (patch)
tree2a49fa53ade1346f14795e673c2c1a261f97620f /xyz/openbmc_project
parent0a1301c141809fc8441abee5415c791ce894f068 (diff)
downloadphosphor-host-ipmid-0ac0dd232627d9c44e53d41e2e6509a0471f013d.tar.gz
phosphor-host-ipmid-0ac0dd232627d9c44e53d41e2e6509a0471f013d.zip
sensor: Refactor get sensor thresholds command
Using GetManagedObjects to get the thresholds could take upto 15~20 sec for the core temperatures. The time taken to fetch threshold properties via GetManagedObjects is proportional to the number of objects under the path. Since the dbus object path is available in the yaml it is performant to read the threshold properties directly. Change-Id: Ic22d8f4d73d8ce4eabdffd6fc7af23f73b981f66 Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Diffstat (limited to 'xyz/openbmc_project')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud