summaryrefslogtreecommitdiffstats
path: root/cmds/atrace
diff options
context:
space:
mode:
authorHaixia Shi <hshi@google.com>2015-10-28 13:22:22 -0700
committerSteve Kondik <steve@cyngn.com>2016-07-20 04:16:16 -0700
commit95cda3b92faf69f2ed594ee87a7e1e7499bd0060 (patch)
tree38881e2de5e4ae432ede70ca7848488d428e01d2 /cmds/atrace
parenta5761b164a27d2894f8abc0652dd8cda7326f564 (diff)
downloadframeworks_native-95cda3b92faf69f2ed594ee87a7e1e7499bd0060.zip
frameworks_native-95cda3b92faf69f2ed594ee87a7e1e7499bd0060.tar.gz
frameworks_native-95cda3b92faf69f2ed594ee87a7e1e7499bd0060.tar.bz2
SF: use first sample timestamp as reference.
Do not use the absolute 64-bit nsecs_t timestamp directly in phase and error calculations. Compared to the estimated vsync period, the timestamp tend to many orders of magnitudes larger, and consequently the integer modulo operation used to calculate phase and error can be very sensitive to tiny fluctuation in vsync period. Bug: 25113115 Test: set kTraceDetailedInfo=true; see Phase and Error are stable in systrace Change-Id: I687703eec31b1072c606898c0424a96c0a8ca033
Diffstat (limited to 'cmds/atrace')
0 files changed, 0 insertions, 0 deletions