summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragment.java
diff options
context:
space:
mode:
authorPhilip P. Moltmann <moltmann@google.com>2020-01-02 13:31:10 -0800
committerPhilip P. Moltmann <moltmann@google.com>2020-01-02 13:36:56 -0800
commite6ece90a586d6378d099a547451c918db91faebb (patch)
tree92404621e3f3a6da61c696f79d48c8adb7aec965 /rs/java/android/renderscript/ProgramFragment.java
parent856ce4a17d8cfd4d894b1f3f28b0e224a4e40913 (diff)
Use elapsedRealtime to measure in-progress app-ops
ElapsedRealtime is guaranteed monotonic, hence it won't jump back and forth in time. currentTimeInMS might jump back in time effectively causing a in-progress app-op with negative duration. Test: TH Fixes: 146853020 Change-Id: I6f4c1c29d651e39c914b5d00f88407abbedffe0c
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragment.java')
0 files changed, 0 insertions, 0 deletions