Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiLogger.java112 Pair<Long, Integer> timing = cache.get(logMessage); in updateLog() local
113 if (shouldLogNow(timing, curTime)) { in updateLog()
114 String log = buildMessage(logMessage, timing); in updateLog()
123 private static String buildMessage(String message, @Nullable Pair<Long, Integer> timing) { in buildMessage() argument
125 .append("[").append(timing == null ? 1 : timing.second).append("]:") in buildMessage()
131 Pair<Long, Integer> timing = cache.get(message); in increaseLogCount() local
132 if (timing != null) { in increaseLogCount()
133 cache.put(message, new Pair<>(timing.first, timing.second + 1)); in increaseLogCount()
137 private static boolean shouldLogNow(@Nullable Pair<Long, Integer> timing, long curTime) { in shouldLogNow() argument
138 return timing == null || curTime - timing.first > ERROR_LOG_DURATTION_MILLIS; in shouldLogNow()
/frameworks/rs/perf-test-scripts/
Dtiming209 adb shell cat /sdcard/rsTimes/${TEST_NAMES[$testId]}_DATA.txt > timing.tmp
217 AVG=`cat timing.tmp | awk '{sum+=$2}END{printf "%.2f",sum/NR}'`
218 …STDCOEF=`cat timing.tmp | awk '{sum+=$2;sos+=$2*$2}END{printf "%.2f",sqrt((sos-sum*sum/NR)/NR)/(su…
269 adb shell cat /sdcard/rsTimes/${TEST_NAMES[$testId]}_DATA.txt > timing.tmp
276 AVG=`cat timing.tmp | awk '{sum+=$2}END{printf "%.2f",sum/NR}'`
277 …STDCOEF=`cat timing.tmp | awk '{sum+=$2;sos+=$2*$2}END{printf "%.2f",sqrt((sos-sum*sum/NR)/NR)/(su…
309 rm -f timing.tmp
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
DUT_reduce.java50 private static class timing { class in UT_reduce
51 timing(long myJavaStart, long myJavaEnd, long myRsStart, in timing() method in UT_reduce.timing
68 timing(long myInputCells) { in timing() method in UT_reduce.timing
108 return (new timing(myJavaStart, myJavaEnd, myRsStart, in string()
113 return (new timing(myInputCells)).string(); in string()
195 private <T extends Number> boolean result(String testName, final timing t, in result()
205 private boolean result(String testName, final timing t, in result()
226 private boolean result(String testName, final timing t, in result()
247 private boolean result(String testName, final timing t, in result()
252 private boolean result(String testName, final timing t, Int2 javaResult, Int2 rsResult) { in result()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java93 Bundle timing = mPerfCollector.stopTiming("timing4"); in testStopTimingNoWriter() local
99 verifyTimingBundle(timing, labels); in testStopTimingNoWriter()
160 Bundle timing = mPerfCollector.stopTiming("timing8"); in testStopTiming() local
166 verifyTimingBundle(timing, labels); in testStopTiming()
247 Bundle timing = mPerfCollector.stopTiming("iteration5"); in testSimpleSequence() local
261 verifyTimingBundle(timing, labels); in testSimpleSequence()
464 private void verifyTimingBundle(Bundle timing, ArrayList<String> labels) { in verifyTimingBundle() argument
465 assertEquals(1, timing.size()); in verifyTimingBundle()
466 assertTrue(timing.containsKey(PerformanceCollector.METRIC_KEY_ITERATIONS)); in verifyTimingBundle()
467 ArrayList<Parcelable> iterations = timing.getParcelableArrayList( in verifyTimingBundle()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp235 android::Vector<TimingInfo> timing; member
303 swapchain->timing.clear(); in OrphanSwapchain()
307 if (swapchain.timing.size() < MIN_NUM_FRAMES_AGO) { in get_num_ready_timings()
312 const size_t num_timings = swapchain.timing.size() - MIN_NUM_FRAMES_AGO + 1; in get_num_ready_timings()
314 TimingInfo& ti = swapchain.timing.editItemAt(i); in get_num_ready_timings()
369 if (swapchain.timing.empty()) { in copy_ready_timings()
374 size_t last_ready = swapchain.timing.size() - 1; in copy_ready_timings()
375 while (!swapchain.timing[last_ready].ready()) { in copy_ready_timings()
386 const TimingInfo& ti = swapchain.timing[i]; in copy_ready_timings()
396 swapchain.timing.removeItemsAt(0, num_to_remove); in copy_ready_timings()
[all …]
/frameworks/rs/tests/java_api/Refocus/dataExtraction/
DRefocusTestTimingProcess.txt7 1. All the timing numbers are in nanoseconds, since a lot of the kernel is processed really fast.
12 Here are the timing process:
/frameworks/base/core/java/android/os/
DVibrationEffect.java286 for (long timing : mTimings) { in validate()
287 if (timing < 0) { in validate()
/frameworks/base/services/core/java/com/android/server/
DVibratorService.java870 long timing = 0; in getTotalOnDuration() local
872 timing += timings[i++]; in getTotalOnDuration()
884 return timing; in getTotalOnDuration()