summaryrefslogtreecommitdiff
path: root/cmds/dumpstate/utils.cpp
diff options
context:
space:
mode:
author Brian Anderson <brianderson@google.com> 2016-09-21 16:53:28 -0700
committer Brian Anderson <brianderson@google.com> 2016-11-17 11:46:20 -0800
commit221de2a33d456738f7f64db0b015a960211d4834 (patch)
tree0ad10e90d9193386452ee568eafba8bbc3735481 /cmds/dumpstate/utils.cpp
parent7c3ba8aa288755fad78ddbabcee0ad5a0610ac1c (diff)
Add Fence helpers: Time, Timeline, Snapshot
FenceTime will be used to: 1) Cache and share the result of a Fence's getSignalTime with all clients that care about it, instead of requiring a syscall for each client. 2) Allow tests to override the valid state and signalTimes of the underlying fence by acting as a shim. FenceTimeline will be used to efficiently get the signal times of Fences without having query for Fences that likely haven't signaled. FenceTime::Snapshot is a stable copy of a FenceTime that can be used for serialization since it doesn't change while flattening. Test: adb shell /data/nativetest/libgui_test/libgui_test --gtest_filter=*GetFrameTimestamps* Change-Id: I9a28df7ce797311dc4d56b1147edf590e9de1517
Diffstat (limited to 'cmds/dumpstate/utils.cpp')
0 files changed, 0 insertions, 0 deletions