services/surfaceflinger/Fps.h
0 → 100644
+112
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Add a class to wrap a fps value. This is useful because across the code we - convert between vsyncPeriod and fps - compare with tolerance (this ensures we use consistent tolerance) - consistent toString method Bug: 159590486 Test: presubmit Change-Id: Iebb77a33a2f822056642aa61bd6fac6514aa656d