Home
last modified time | relevance | path

Searched refs:latency (Results 1 – 25 of 253) sorted by relevance

1234567891011

/external/blktrace/btt/
Dlatency.c23 static inline void latency_out(FILE *ofp, __u64 tstamp, __u64 latency) in latency_out() argument
26 fprintf(ofp, "%lf %lf\n", TO_SEC(tstamp), TO_SEC(latency)); in latency_out()
57 void latency_q2d(struct d_info *dip, __u64 tstamp, __u64 latency) in latency_q2d() argument
59 plat_x2c(dip->q2d_plat_handle, tstamp, latency); in latency_q2d()
60 latency_out(dip->q2d_ofp, tstamp, latency); in latency_q2d()
63 void latency_d2c(struct d_info *dip, __u64 tstamp, __u64 latency) in latency_d2c() argument
65 plat_x2c(dip->d2c_plat_handle, tstamp, latency); in latency_d2c()
66 latency_out(dip->d2c_ofp, tstamp, latency); in latency_d2c()
69 void latency_q2c(struct d_info *dip, __u64 tstamp, __u64 latency) in latency_q2c() argument
71 plat_x2c(dip->q2c_plat_handle, tstamp, latency); in latency_q2c()
[all …]
/external/walt/docs/
DAudioLatency.md3 Audio output latency as measured by WALT is the time that passes from the moment an application
4 decides to output a tone until it can be detected via the headphone jack. Microphone latency is
7 Low latency audio IO on Android can be achieved via JNI C/C++ code.
20 In order to avoid warm up latency during audio playback it is
21 …s.github.io/android-audio-high-performance/guides/audio-output-latency.html#avoid-warm-up-latency).
26 and the latency reported by WALT app is the time from the
28 …ibute considerable variance but little interesting information if included in the reported latency.
31 The reported latency is the time from the moment the last frame in a buffer was recorded until the
35 TODO: Is the round trip latency expected to be Recording latency + Playback latency + one buffer le…
49 \* WALT clock synchronization accuracy is about 1 ms hence the relative error for recording latency
[all …]
DDragLatency.md1 ## Drag / scroll latency
3 …on how to perform the measurement refer to the [usage doc](usage/WALT_usage.md#dragscroll-latency).
5 For drag (or scroll) latency WALT uses a laser that shines across the touch device and hits a detec…
15 ![Drag/scroll latency measurement](usage/images/drag.png)
19 | Device | OS version | Drag latency [ms]|
27 ## Drag latency calculation
33 … the touch and the laser events diverge a little (this divergence is the latency we want to measur…
41 ![Drag/scroll latency measurement results](Drag_screen_N5X.png)
/external/autotest/client/cros/
Dhttp_speed.py45 def BenchmarkOneDirection(latency, label, url, benchmark_function): argument
65 target = max(20 * latency, 10)
80 adjusted_transfer_time = max(transfer_time - latency, 0.01)
107 latency = TimeTransferDown(download_url_format_string, 1)
109 logging.info('Latency is %s' % latency)
112 latency,
118 latency,
/external/iproute2/tc/
Dq_tbf.c45 unsigned buffer=0, mtu=0, mpu=0, latency=0; in tbf_parse_opt() local
61 if (latency) { in tbf_parse_opt()
72 if (latency) { in tbf_parse_opt()
80 if (get_time(&latency, *argv)) { in tbf_parse_opt()
191 if (opt.limit == 0 && latency == 0) { in tbf_parse_opt()
205 double lim = rate64*(double)latency/TIME_UNITS_PER_SEC + buffer; in tbf_parse_opt()
207 double lim2 = prate64*(double)latency/TIME_UNITS_PER_SEC + mtu; in tbf_parse_opt()
255 double latency; in tbf_print_opt() local
305 latency = TIME_UNITS_PER_SEC*(qopt->limit/(double)rate64) - tc_core_tick2time(qopt->buffer); in tbf_print_opt()
308 if (lat2 > latency) in tbf_print_opt()
[all …]
/external/walt/pywalt/
DREADME.md5 * Currently supprots tap and drag (scroll) latency measurements
16 Run the touchpad drag latency test using WALT Latency Timer
35 See the [tap latency section](../docs/usage/WALT_usage.md#tap-latency) in Android app usage doc.
37 Below is output from an example run of a tap latency test that reads touch events from `/dev/input/…
46 Starting tap latency test
62 Median latency, down: 23.9, up: 47.1
66 See the [drag latency section](../docs/usage/WALT_usage.md#dragscroll-latency) in Android app usage…
68 Below is a drag latency measurement of the trackpad on Asus Flip. The trackpad input device is `/de…
74 Drag latency uses evtest and must therefore be run as root.
78 Starting drag latency test
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMScheduleA9.td426 // no delay slots, so the latency of a branch is unimportant
460 // Extra latency cycles since wbck is 2 cycles
469 // Extra latency cycles since wbck is 2 cycles
479 // Extra latency cycles since wbck is 4 cycles
488 // Extra latency cycles since wbck is 4 cycles
644 // Extra 1 latency cycle since wbck is 2 cycles
653 // Extra 1 latency cycle since wbck is 2 cycles
684 // FIXME: Result latency is 1 if address is 64-bit aligned.
852 // Extra latency cycles since wbck is 7 cycles
880 // Extra latency cycles since wbck is 7 cycles
[all …]
/external/webrtc/webrtc/sound/
Dpulseaudiosoundsystem.cc77 static void FillPlaybackBufferAttr(int latency, in FillPlaybackBufferAttr() argument
79 attr->maxlength = latency; in FillPlaybackBufferAttr()
80 attr->tlength = latency; in FillPlaybackBufferAttr()
81 attr->minreq = latency / kPlaybackRequestFactor; in FillPlaybackBufferAttr()
160 pa_usec_t latency; in LatencyUsecs() local
163 int re = symbol_table()->pa_stream_get_latency()(stream_, &latency, in LatencyUsecs()
176 return -latency; in LatencyUsecs()
178 return latency; in LatencyUsecs()
587 int latency) in PulseAudioOutputStream() argument
589 configured_latency_(latency), in PulseAudioOutputStream()
[all …]
Dalsasoundsystem.cc650 int latency; in OpenDevice() local
651 if (params.latency == kNoLatencyRequirements) { in OpenDevice()
652 latency = kDefaultLatencyUsecs; in OpenDevice()
656 latency = rtc::kNumMicrosecsPerSec * in OpenDevice()
657 params.latency / in OpenDevice()
661 latency = std::max(latency, kMinimumLatencyUsecs); in OpenDevice()
674 latency); in OpenDevice()
691 2 * latency / rtc::kNumMicrosecsPerMillisec, in OpenDevice()
/external/ltp/testcases/realtime/perf/latency/
Dpthread_cond_many.c58 unsigned long latency = 0; variable
182 latency = (unsigned long)((endtime - starttime) * 1000000.); in wake_child()
212 rec.y = latency; in test_signal()
232 latency = dat.records[i].y; in test_signal()
233 if (latency > PASS_US) in test_signal()
235 min = MIN(min, latency); in test_signal()
236 max = MAX(max, latency); in test_signal()
/external/llvm/lib/Target/ARM/
DARMScheduleA9.td435 // no delay slots, so the latency of a branch is unimportant
469 // Extra latency cycles since wbck is 2 cycles
478 // Extra latency cycles since wbck is 2 cycles
488 // Extra latency cycles since wbck is 4 cycles
497 // Extra latency cycles since wbck is 4 cycles
669 // Extra 1 latency cycle since wbck is 2 cycles
678 // Extra 1 latency cycle since wbck is 2 cycles
709 // FIXME: Result latency is 1 if address is 64-bit aligned.
881 // Extra latency cycles since wbck is 7 cycles
909 // Extra latency cycles since wbck is 7 cycles
[all …]
/external/walt/docs/usage/
DWALT_usage.md3 WALT (**W**hat an **A**wesome **L**atency **T**ester) is a tool for testing latency on Android devi…
20 * Optional: laser pointer for measuring touch drag latency
35 …the [WALT Android App](https://play.google.com/store/apps/details?id=org.kamrik.latency.walt&hl=en)
78 # Running the latency tests
83 ## Audio input latency (microphone)
87 * Tap "Audio latency"
108 Median audio recording latency 1.1 ms
111 ## Audio output latency
116 * Tap "Audio latency"
123 beep detected, total latency = 10.44, normal latency = 10.09, mInitiatedBeeps = 1, mDetectedBeeps =…
[all …]
/external/autotest/client/site_tests/hardware_MemoryLatency/
Dhardware_MemoryLatency.py56 latency = float(s[1])
59 if latency <= 0:
60 raise error.TestFail('invalid latency %f' % latency)
61 self._results['ns_' + str(size) + 'KB'] = latency
Dcontrol7 PURPOSE = 'Benchmark memory and cache access latency'
17 latency.
21 # L1, L2, L3 (if any) and the final size will tell us DRAM latency
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_schedule_instructions.cpp76 int latency; member in schedule_node
127 this->latency = 1 * chans * math_latency; in set_latency_gen4()
130 this->latency = 2 * chans * math_latency; in set_latency_gen4()
136 this->latency = 3 * chans * math_latency; in set_latency_gen4()
141 this->latency = 4 * chans * math_latency; in set_latency_gen4()
144 this->latency = 8 * chans * math_latency; in set_latency_gen4()
149 this->latency = 5 * chans * math_latency; in set_latency_gen4()
152 this->latency = 2; in set_latency_gen4()
184 latency = is_haswell ? 16 : 18; in set_latency_gen7()
210 latency = 14; in set_latency_gen7()
[all …]
/external/llvm/lib/Target/AMDGPU/
DSISchedule.td78 int latency> : WriteRes<write, resources> {
79 let Latency = latency;
82 class HWVALUWriteRes<SchedWrite write, int latency> :
83 HWWriteRes<write, [HWVALU], latency>;
86 // The latency numbers are taken from AMD Accelerated Parallel Processing
89 // The latency values are 1 / (operations / cycle) / 4.
/external/walt/android/WALT/app/src/main/java/org/chromium/latency/walt/programmer/
DProgrammer.java17 package org.chromium.latency.walt.programmer;
23 import org.chromium.latency.walt.R;
24 import org.chromium.latency.walt.SimpleLogger;
25 import org.chromium.latency.walt.WaltConnection;
/external/fio/examples/
Dlatency-profile.fio1 # Test job that demonstrates how to use the latency target
3 # that fits within the latency constraints of this 4k random
13 # Set max acceptable latency to 500msec
/external/linux-kselftest/tools/testing/selftests/timers/
Dnsleep-lat.c112 long long latency = 0; in nanosleep_lat_test() local
142 latency += timespec_sub(target, end); in nanosleep_lat_test()
145 if (latency/count > UNRESONABLE_LATENCY) { in nanosleep_lat_test()
146 printf("Large abs latency: %lld ns :", latency/count); in nanosleep_lat_test()
/external/walt/
DREADME.md11 WALT is designed to measure the latency of physical sensors and outputs on phones and computers. It…
13 …* [Tap latency](docs/TapLatency.md) - time from the moment a finger-like probe touches down (or up…
16 * [Drag latency](docs/DragLatency.md) (scroll).
17 …* [Screen draw latency](docs/ScreenLatency.md) - using a photodiode that detects whether the scree…
22 [installed from Google Play](https://play.google.com/store/apps/details?id=org.kamrik.latency.walt)
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/
DUtilsTest.java17 package org.chromium.latency.walt;
141 double latency = 12.34; in testFindBestShift() local
150 …touchY[i] = 1000*Math.cos((touchTimes[i] - latency) * Math.PI/500) + rand.nextDouble()*0.02 - 0.01; in testFindBestShift()
160 assertEquals(latency, Utils.findBestShift(laserTimes, touchTimes, touchY), 1e-6); in testFindBestShift()
/external/netperf/doc/examples/
Dbloat.sh93 CDEF:latency=1.0,trans,/ \
94 VDEF:maxlatency=latency,MAXIMUM \
115 CDEF:latency=1.0,trans,/ \
116 LINE2:latency#00FF0080:"TCP_RR Latency" \
/external/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_testplan.txt107 more groups on fairness.(however latency check will be done in future)
135 The latency tests refer to testing if the cpu is available(within a reasonable
141 of type double. A task named latency check task is launched after these tasks.
142 This task sleeps frequently and measures the latency as the difference b/n
148 hogging the cpu. The latency check task also runs under any of the groups.
150 Test 11: cpuctl latency test 1
152 This test adds one testcase for testing the latency when the group scheduler
155 Test 12: cpuctl latency test 2
157 This test adds one testcase for testing the latency when the group scheduler
160 NOTE: There is no clear consensus on the maximum latency that the scheduler
[all …]
/external/autotest/client/site_tests/audio_LoopbackLatency/
Dcontrol7 PURPOSE = 'Test that audio loopback latency'
10 the latency is within certain limit.
20 Test that audio loopback latency is within certain limit.
/external/autotest/client/tests/cyclictest/
DREADME11 All numbers in micro seconds. You get the minimium, maximum and average latency for each thread.
29 counter and the third is the latency value for this step. You can use
30 this for your own statistics or for latency distribution plots.

1234567891011