summaryrefslogtreecommitdiff
path: root/libs/shaders/shaders.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2022-05-11 18:38:38 +0000
committer Alec Mouri <alecmouri@google.com> 2022-05-16 22:13:40 +0000
commit29382adaa2bec3651597da57313af6822e0e620a (patch)
tree545286372bf2e011d33cd6ae62a0c9c9ff6068bd /libs/shaders/shaders.cpp
parent4d0354932995489267e30d6cf265acf6d364b6ed (diff)
Reduce more power advisor churn
* Use chrono time types consistently to avoid a bug with comparing milliseconds with nanoseconds * Change the update imminent timeout callback to use a while loop instead of an if-statement to guard against spurious wakeups. Saves 2% of instructions and ~5% of cpu cycles Bug: 231628914 Test: bouncy ball Change-Id: Id61020e60825347dcf94794b92f8bc04c1455cfa
Diffstat (limited to 'libs/shaders/shaders.cpp')
0 files changed, 0 insertions, 0 deletions