diff options
| author | 2021-03-31 16:56:03 -0700 | |
|---|---|---|
| committer | 2021-04-02 22:30:12 +0000 | |
| commit | 6c1b7aca75e3fb0d45789b15007202493de6bc3d (patch) | |
| tree | 33e2216ceb207348dad96465d653082b487547ec /libs/gui/SurfaceControl.cpp | |
| parent | d043c248649e8e9b51c73b6d3c02257882149dcc (diff) | |
SF: use FenceTime when possible
Fence::getSignalTime is calling a system call everytime,
where FenceTime caches the signal time.
This shows reduction in simpleperf for the main thread
2.23% -> 1.25%
Test: simpleperf for PIP + Notification shade expansion
Bug: 184378996
Change-Id: I182db2ddfcb7fdbde758f5d87357a16e60c1bb07
Diffstat (limited to 'libs/gui/SurfaceControl.cpp')
0 files changed, 0 insertions, 0 deletions