summaryrefslogtreecommitdiffstats
path: root/control/actions.hpp
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2018-05-08 14:16:04 -0500
committerMatthew Barth <msbarth@linux.ibm.com>2018-05-16 17:25:57 +0000
commit572d406c89c80da2bb7ec4ccb42d2de3236000e1 (patch)
tree264a9a8e509f890f60207a1ef38f7878e0319af7 /control/actions.hpp
parent702c4a55a69915c3ab3506ee552acc5c21e06e2a (diff)
downloadphosphor-fan-presence-572d406c89c80da2bb7ec4ccb42d2de3236000e1.tar.gz
phosphor-fan-presence-572d406c89c80da2bb7ec4ccb42d2de3236000e1.zip
Enhance precondition function and tracing
Replace count_if with all_of in the property states match precondition to stop iterating over the group members once a property state does not match. Include additional debug tracing when the precondition passes and fails to help in determining where the precondition causes fans to be at full speed. Tested: Verify debug traces align with precondition state Change-Id: I1c3d8f096a645ac3bfcdfb7b9197682cf7ca52a0 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'control/actions.hpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud