#
eab4f8c0 |
| 16-Aug-2024 |
Patrick Williams <patrick@stwcx.xyz> |
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda forma
clang-format: re-format for clang-18
clang-format-18 isn't compatible with the clang-format-17 output, so we need to reformat the code with the latest version. The way clang-18 handles lambda formatting also changed, so we have made changes to the organization default style format to better handle lambda formatting.
See I5e08687e696dd240402a2780158664b7113def0e for updated style. See Iea0776aaa7edd483fa395e23de25ebf5a6288f71 for clang-18 enablement.
Change-Id: I9bb0aaa05541fe88ccabfaa5d00e3117e489ea8d Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
show more ...
|
#
26dc0bcb |
| 16-Jun-2022 |
Patrick Williams <patrick@stwcx.xyz> |
remove std::experimental usage
All of the std::experimental usages in this repository have a well supported counterpart in std as of C++17. Switch to use them.
Signed-off-by: Patrick Williams <pat
remove std::experimental usage
All of the std::experimental usages in this repository have a well supported counterpart in std as of C++17. Switch to use them.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Change-Id: I4cdf5cd27053ce85c7f70c215ee9456f96f79f42
show more ...
|
#
efdd03c2 |
| 04-Sep-2019 |
Matthew Barth <msbarth@us.ibm.com> |
Add median* condition
The median condition determines the median value from a configured group of properties and checks that against a defined condition to determine whether or not the callback is c
Add median* condition
The median condition determines the median value from a configured group of properties and checks that against a defined condition to determine whether or not the callback is called.
*Note: When 2 properties are used with the median condition, the property determined to be the max is used instead of the average of the 2 properties. This is for providing a "worst case" median value.
An example would be to create a group consisting of multiple ambient sensors where the median value from these ambient sensors would be used to shutdown the system if above a given temperature.
i.e.)
- name: median temps description: > 'If this condition passes the median ambient temperature is too high(>= 45C). Shut the system down.' class: condition condition: median paths: ambient sensors properties: ambient temp callback: ambient log and shutdown op: '>=' bound: 45000 oneshot: true
Tested: A defined median condition is generated according to the MedianCondition class The MedianCondition class produces a single median value from a group of property values Median value used against the given operation to determine if callback is called or not
Change-Id: Icd53e1a6e30a263b7706a935f040eea97dcc2414 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|