Home
last modified time | relevance | path

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

12

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiLogger.java110 Pair<Long, Integer> timing = cache.get(logMessage); in updateLog() local
111 if (shouldLogNow(timing, curTime)) { in updateLog()
112 String log = buildMessage(logMessage, timing); in updateLog()
121 private static String buildMessage(String message, @Nullable Pair<Long, Integer> timing) { in buildMessage() argument
123 .append("[").append(timing == null ? 1 : timing.second).append("]:") in buildMessage()
129 Pair<Long, Integer> timing = cache.get(message); in increaseLogCount() local
130 if (timing != null) { in increaseLogCount()
131 cache.put(message, new Pair<>(timing.first, timing.second + 1)); in increaseLogCount()
135 private static boolean shouldLogNow(@Nullable Pair<Long, Integer> timing, long curTime) { in shouldLogNow() argument
136 return timing == null || curTime - timing.first > ERROR_LOG_DURATION_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/ml/nn/runtime/
DCallbacks.h240 const Timing& timing) override;
244 const Timing& timing) { in notify() argument
245 return notify_1_2(status, outputShapes, timing); in notify()
364 const Timing& timing);
DCallbacks.cpp79 const Timing& timing) { in notify_1_2() argument
96 notifyInternal(errorStatus, outputShapes, timing); in notify_1_2()
182 const Timing& timing) { in notifyInternal() argument
193 mTiming = timing; in notifyInternal()
DExecutionBuilder.h106 void reportTiming(Timing timing) { mTiming = timing; } in reportTiming() argument
DExecutionBuilder.cpp452 Timing timing = kNoTiming; in asyncStartComputePartitioned() local
468 executionCallback->notify(ErrorStatus::NONE, outputShapes, timing); in asyncStartComputePartitioned()
500 timing = stepCallback->getTiming(); in asyncStartComputePartitioned()
914 auto [status, outputShapes, timing, fallback] = in startComputeOnDevice()
919 executionCallback->notify(status, outputShapes, timing); in startComputeOnDevice()
DVersionedInterfaces.h688 ErrorStatus execute(const Request& request, MeasureTiming timing,
/frameworks/ml/nn/tools/systrace_parser/parser/test/
Domr1.txt4 NNAPI timing summary (self-times, ms wall-clock) …
19 NNAPI timing summary (self-times, ms wall-clock) …
34 NNAPI timing summary (self-times, ms wall-clock) …
49 NNAPI timing summary (self-times, ms wall-clock) …
64 NNAPI timing summary (self-times, ms wall-clock) …
Dunittest.txt4 NNAPI timing summary (self-times, ms wall-clock) …
19 NNAPI timing summary (self-times, ms wall-clock) …
Dhdrnet-bm.txt4 NNAPI timing summary (self-times, ms wall-clock) Benchmark
Dhdrnet.txt4 NNAPI timing summary (self-times, ms wall-clock) …
Dcpu.txt4 NNAPI timing summary (self-times, ms wall-clock) …
Dold.txt4 NNAPI timing summary (self-times, ms wall-clock) …
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce.java52 private static class timing { class in UT_reduce
53 timing(long myJavaStart, long myJavaEnd, long myRsStart, in timing() method in UT_reduce.timing
70 timing(long myInputCells) { in timing() method in UT_reduce.timing
110 return (new timing(myJavaStart, myJavaEnd, myRsStart, in string()
115 return (new timing(myInputCells)).string(); in string()
197 private <T extends Number> boolean result(String testName, final timing t, in result()
207 private boolean result(String testName, final timing t, in result()
228 private boolean result(String testName, final timing t, in result()
249 private boolean result(String testName, final timing t, in result()
254 private boolean result(String testName, final timing t, Int2 javaResult, Int2 rsResult) { in result()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
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/ml/nn/driver/sample/
DSampleDriver.cpp220 const hidl_vec<OutputShape>& outputShapes, Timing timing) { in notify() argument
221 return callback->notify_1_2(status, outputShapes, timing); in notify()
252 Timing timing = {.timeOnDevice = uint64_t(microsecondsDuration(deviceEnd, deviceStart)), in asyncExecute() local
254 VLOG(DRIVER) << "SampleDriver::asyncExecute timing = " << toString(timing); in asyncExecute()
255 returned = notify(callback, executionStatus, outputShapes, timing); in asyncExecute()
338 Timing timing = {.timeOnDevice = uint64_t(microsecondsDuration(deviceEnd, deviceStart)), in executeSynchronously() local
340 VLOG(DRIVER) << "executeSynchronously timing = " << toString(timing); in executeSynchronously()
341 cb(executionStatus, outputShapes, timing); in executeSynchronously()
413 Timing timing = { in execute() local
416 VLOG(DRIVER) << "BurstExecutorWithCache::execute timing = " << toString(timing); in execute()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DPerformanceCollectorTest.java94 Bundle timing = mPerfCollector.stopTiming("timing4"); in testStopTimingNoWriter() local
100 verifyTimingBundle(timing, labels); in testStopTimingNoWriter()
161 Bundle timing = mPerfCollector.stopTiming("timing8"); in testStopTiming() local
167 verifyTimingBundle(timing, labels); in testStopTiming()
248 Bundle timing = mPerfCollector.stopTiming("iteration5"); in testSimpleSequence() local
262 verifyTimingBundle(timing, labels); in testSimpleSequence()
465 private void verifyTimingBundle(Bundle timing, ArrayList<String> labels) { in verifyTimingBundle() argument
466 assertEquals(1, timing.size()); in verifyTimingBundle()
467 assertTrue(timing.containsKey(PerformanceCollector.METRIC_KEY_ITERATIONS)); in verifyTimingBundle()
468 ArrayList<Parcelable> iterations = timing.getParcelableArrayList( in verifyTimingBundle()
/frameworks/ml/nn/common/
DExecutionBurstServer.cpp73 const Timing& timing) { in execute() argument
76 returnedTiming = timing; in execute()
98 const std::vector<OutputShape>& outputShapes, Timing timing) { in serialize() argument
140 datum.executionTiming(timing); in serialize()
407 const std::vector<OutputShape>& outputShapes, Timing timing) { in send() argument
408 const std::vector<FmqResultDatum> serialized = serialize(errorStatus, outputShapes, timing); in send()
DExecutionBurstController.cpp207 const Timing timing = data[index].executionTiming(); in deserialize() local
217 return std::make_tuple(errorStatus, std::move(outputShapes), timing); in deserialize()
538 auto [status, outputShapes, timing, fallback] = tryCompute(request, measure, memoryIds); in compute()
540 return {status, std::move(outputShapes), timing}; in compute()
569 auto [status, outputShapes, timing] = std::move(*result); in tryCompute()
570 return {status, std::move(outputShapes), timing, /*fallback=*/false}; in tryCompute()
/frameworks/ml/nn/common/include/
DExecutionBurstServer.h49 const std::vector<OutputShape>& outputShapes, Timing timing);
145 bool send(ErrorStatus errorStatus, const std::vector<OutputShape>& outputShapes, Timing timing);
/frameworks/ml/nn/tools/systrace_parser/
DREADME.txt4 timing statistics.
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp273 android::Vector<TimingInfo> timing; member
341 swapchain->timing.clear(); in OrphanSwapchain()
345 if (swapchain.timing.size() < MIN_NUM_FRAMES_AGO) { in get_num_ready_timings()
350 const size_t num_timings = swapchain.timing.size() - MIN_NUM_FRAMES_AGO + 1; in get_num_ready_timings()
352 TimingInfo& ti = swapchain.timing.editItemAt(i); in get_num_ready_timings()
407 if (swapchain.timing.empty()) { in copy_ready_timings()
412 size_t last_ready = swapchain.timing.size() - 1; in copy_ready_timings()
413 while (!swapchain.timing[last_ready].ready()) { in copy_ready_timings()
424 const TimingInfo& ti = swapchain.timing[i]; in copy_ready_timings()
434 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/opt/gamesdk/third_party/cube/app/src/main/cpp/
Dcube.c159 struct TrackTiming timing; variable
161 timing.now = 0; in InitializeTrackTiming()
162 timing.lastEvent = 0; in InitializeTrackTiming()
163 timing.lastANI = 0; in InitializeTrackTiming()
164 timing.frame = 0; in InitializeTrackTiming()
169 timing.now = getTimeInNanoseconds(); in logEvent()
170 uint64_t delta = timing.now - timing.lastEvent; in logEvent()
171 uint64_t deltaANI = timing.now - timing.lastANI; in logEvent()
172 if (timing.frame > 30) return; in logEvent()
176 " (delta %llu)", timing.now, delta); in logEvent()
[all …]
/frameworks/base/core/java/android/os/
DVibrationEffect.java618 for (long timing : mTimings) { in validate()
619 if (timing < 0) { in validate()

12