summaryrefslogtreecommitdiff
path: root/include/openbmc_dbus_rest.hpp
diff options
context:
space:
mode:
authorEd Tanous <ed.tanous@intel.com>2018-08-04 00:33:10 +0300
committerEd Tanous <ed.tanous@intel.com>2018-08-24 22:41:47 +0300
commit9b243a4ee4e58406df4fecc4f98f7b701cc26f18 (patch)
treefaecf31d87b6cb06727b760e385f6190f850676b /include/openbmc_dbus_rest.hpp
parentb39db7142f9b576e53a81bbef8424f2478c4fff2 (diff)
downloadbmcweb-9b243a4ee4e58406df4fecc4f98f7b701cc26f18.tar.xz
Make dbus monitor compatible with phosphor-rest
This patchset makes the dbus monitor compatible with the upstream dbus monitor, which should help adoption. Performance seems greatly improved compared to the python implementation. The example given in the documentation of watching for sensors and state changes is checked in as a test script websocket_test.py, and seems to consume less of the CPU than the actual sensors that get produced (about 4% CPU on my ast2500) when producing 30 sensor updates per second. This can likely be improved in the future by batching change events, but it seems to be performant enough for the moment. Tested: Used test script checked in, and verified webui can register state change events properly. Change-Id: I7d4c61d0259b7773eb46df0f59f8fea1c7796450 Signed-off-by: Ed Tanous <ed.tanous@intel.com>
Diffstat (limited to 'include/openbmc_dbus_rest.hpp')
0 files changed, 0 insertions, 0 deletions