Home
last modified time | relevance | path

Searched refs:now_us (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/opengl/tests/testFramerate/src/com/android/testframerate/
DTestFramerateView.java50 private void registerTime(long now_us) { in registerTime() argument
52 long elapsedTime_us = now_us - mLastTime_us; in registerTime()
64 mLastTime_us = now_us; in registerTime()
73 long now_us = System.nanoTime() / 1000; in onDrawFrame() local
74 registerTime(now_us); in onDrawFrame()
76 float red = (now_us % 1000000) / 1000000.f; in onDrawFrame()
77 float green = (now_us % 2000000) / 2000000.f; in onDrawFrame()
78 float blue = (now_us % 3000000) / 3000000.f; in onDrawFrame()