diff options
author | Siarhei Vishniakou <svv@google.com> | 2021-01-26 13:34:19 -1000 |
---|---|---|
committer | Siarhei Vishniakou <svv@google.com> | 2021-02-09 02:35:57 +0000 |
commit | 80136b07e0217ba81afc5819d309619644ba1263 (patch) | |
tree | ddbea3cc36e61d120af663c6a150100f752c0ad1 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | 084f3be4b1b602dba14cf49e7bf275d2264e1e70 (diff) |
Receive consume time in InputPublisher
When the app reads an input event from the socket, it will now mark the
time at which it read the event. This time will later be provided to
InputDispatcher.
InputDispatcher can use this information to determine how long the
application has spent before the event was read. This step (socket read)
must occur before the app does any further frame processing. Therefore,
it will provide a better time bound for how long an app took to process
an input event.
InputDispatcher will report this socket latency as part of the
end-to-end touch latency metrics.
Bug: 169866723
Test: looked at the data printed locally to logcat
Change-Id: I14f77d3f9a4471b0be582a0852604cc9811e8d0a
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions