commit | 29382adaa2bec3651597da57313af6822e0e620a | [log] [tgz] |
---|---|---|
author | Alec Mouri <alecmouri@google.com> | Wed May 11 18:38:38 2022 +0000 |
committer | Alec Mouri <alecmouri@google.com> | Mon May 16 22:13:40 2022 +0000 |
tree | 545286372bf2e011d33cd6ae62a0c9c9ff6068bd | |
parent | 4d0354932995489267e30d6cf265acf6d364b6ed [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