[PM] Add function CallOnGraphAndReplyWithResult to performance manager.
Adds a function, CallOnGraphAndReplyWithResult, to the performance manager api. This function allows you to post a callback that will be run on the PM sequence, and be provided a pointer to the Graph. The return value of that callback is passed back as an argument to the reply callback. Bug: 980965 Change-Id: Icf1abc0d738bd1edd8ff2f50d5dba824fa861853 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1773961 Commit-Queue: Ryan Powell <ryanpow@google.com> Reviewed-by:Sébastien Marchand <sebmarchand@chromium.org> Reviewed-by:
François Doray <fdoray@chromium.org> Cr-Commit-Position: refs/heads/master@{#692088}
Showing
Please register or sign in to comment