Searched defs:latency (Results 1 - 25 of 36) sorted by relevance

12

/external/blktrace/btt/
H A Dlatency.c23 static inline void latency_out(FILE *ofp, __u64 tstamp, __u64 latency) argument
26 fprintf(ofp, "%lf %lf\n", TO_SEC(tstamp), TO_SEC(latency));
57 void latency_q2d(struct d_info *dip, __u64 tstamp, __u64 latency) argument
59 plat_x2c(dip->q2d_plat_handle, tstamp, latency);
60 latency_out(dip->q2d_ofp, tstamp, latency);
63 void latency_d2c(struct d_info *dip, __u64 tstamp, __u64 latency) argument
65 plat_x2c(dip->d2c_plat_handle, tstamp, latency);
66 latency_out(dip->d2c_ofp, tstamp, latency);
69 void latency_q2c(struct d_info *dip, __u64 tstamp, __u64 latency) argument
71 plat_x2c(dip->q2c_plat_handle, tstamp, latency);
[all...]
H A Dplat.c67 void plat_x2c(void *info, __u64 ts, __u64 latency) argument
70 double lat = TO_SEC(latency);
/external/webrtc/webrtc/sound/
H A Dsoundsysteminterface.h42 // Enable reporting the current stream latency in
56 // Desired latency, measured as number of bytes of sample data
57 int latency; member in struct:rtc::SoundSystemInterface::OpenParams
60 // Special values for the "latency" field of OpenParams.
61 // Use this one to say you don't care what the latency is. The sound system
65 // small latency value. The sound system may pick the minimum allowed one, or
H A Dalsasoundsystem.cc42 // Minimum latency we allow, in microseconds. This is more or less arbitrary,
47 // The latency we'll use for kNoLatencyRequirements (chosen arbitrarily).
119 // We set the timeout to twice the requested latency, so continuous
649 // Compute requested latency in microseconds.
650 int latency; local
651 if (params.latency == kNoLatencyRequirements) {
652 latency = kDefaultLatencyUsecs;
654 // kLowLatency is 0, so we treat it the same as a request for zero latency.
656 latency = rtc::kNumMicrosecsPerSec *
657 params.latency /
[all...]
H A Dpulseaudiosoundsystem.cc47 // buffer, so setting too low of a latency is a buffer underflow risk. We will
48 // automatically increase the latency if a buffer underflow does occur, but we
54 // latency that is greater by this amount.
64 // For capture, low latency is not a buffer overflow risk, but it makes us burn
77 static void FillPlaybackBufferAttr(int latency, argument
79 attr->maxlength = latency;
80 attr->tlength = latency;
81 attr->minreq = latency / kPlaybackRequestFactor;
83 LOG(LS_VERBOSE) << "Configuring latency = " << attr->tlength << ", minreq = "
160 pa_usec_t latency; local
584 PulseAudioOutputStream(PulseAudioSoundSystem *pulse, pa_stream *stream, int flags, int latency) argument
1357 OpenDevice( const SoundDeviceLocator *device, const OpenParams &params, const char *stream_name, StreamInterface *(PulseAudioSoundSystem::*connect_fn)( pa_stream *stream, const char *dev, int flags, pa_stream_flags_t pa_flags, int latency, const pa_sample_spec &spec)) argument
1434 ConnectOutputStream( pa_stream *stream, const char *dev, int flags, pa_stream_flags_t pa_flags, int latency, const pa_sample_spec &spec) argument
1467 ConnectInputStream( pa_stream *stream, const char *dev, int flags, pa_stream_flags_t pa_flags, int latency, const pa_sample_spec &spec) argument
[all...]
/external/iproute2/tc/
H A Dq_tbf.c29 fprintf(stderr, " [ peakrate KBPS ] [ latency TIME ] ");
45 unsigned buffer=0, mtu=0, mpu=0, latency=0; local
61 if (latency) {
62 fprintf(stderr, "tbf: specifying both \"latency\" and \"limit\" is not allowed\n");
70 } else if (matches(*argv, "latency") == 0) {
72 if (latency) {
73 fprintf(stderr, "tbf: duplicate \"latency\" specification\n");
77 fprintf(stderr, "tbf: specifying both \"limit\" and \"/latency\" is not allowed\n");
80 if (get_time(&latency, *argv)) {
81 explain1("latency", *arg
255 double latency; local
[all...]
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
H A DMockServerSocket.java162 public void setPerformancePreferences(int connectionTime, int latency, argument
H A DMockSocketConnection.java284 public void setPerformancePreferences(int connectionTime, int latency, argument
/external/linux-kselftest/tools/testing/selftests/timers/
H A Dnsleep-lat.c1 /* Measure nanosleep timer latency
112 long long latency = 0; local
125 /* First check relative latency */
132 printf("Large rel latency: %lld ns :", (timespec_sub(start, end)/count)-ns);
136 /* Next check absolute latency */
142 latency += timespec_sub(target, end);
145 if (latency/count > UNRESONABLE_LATENCY) {
146 printf("Large abs latency: %lld ns :", latency/count);
168 printf("nsleep latency
[all...]
/external/libnl/lib/route/qdisc/
H A Dtbf.c126 "latency %.1f%s",
189 static inline double calc_limit(struct rtnl_ratespec *spec, int latency, argument
194 limit = (double) spec->rs_rate * ((double) latency / 1000000.);
201 * Set limit of TBF qdisc by latency.
203 * @arg latency Latency in micro seconds.
205 * Calculates and sets the limit based on the desired latency and the
210 * limit_n = \frac{{rate_n} \times {latency}}{10^6}+{bucketsize}_n
218 int rtnl_qdisc_tbf_set_limit_by_latency(struct rtnl_qdisc *qdisc, int latency) argument
229 limit = calc_limit(&tbf->qt_rate, latency, tbf->qt_rate_bucket);
232 limit2 = calc_limit(&tbf->qt_peakrate, latency,
[all...]
/external/ltp/testcases/realtime/perf/latency/
H A Dpthread_cond_many.c58 unsigned long latency = 0; variable
182 latency = (unsigned long)((endtime - starttime) * 1000000.);
212 rec.y = latency;
232 latency = dat.records[i].y;
233 if (latency > PASS_US)
235 min = MIN(min, latency);
236 max = MAX(max, latency);
/external/ltp/tools/netpipe-2.4/
H A Dnetpipe.c54 latency; /* Network message latency */ local
224 latency = (When() - t0) / (2 * LATENCYREPS);
232 SendTime(&args, &latency);
234 RecvTime(&args, &latency);
237 fprintf(stderr, "Latency: %.7f\n", latency);
240 tlast = latency;
/external/ltp/tools/netpipe-2.4-ipv6/
H A Dnetpipe.c91 latency; /* Network message latency */ local
276 latency = (When() - t0) / (2 * LATENCYREPS);
284 SendTime(&args, &latency);
286 RecvTime(&args, &latency);
289 fprintf(stderr, "Latency: %.7f\n", latency);
292 tlast = latency;
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_fs_schedule_instructions.cpp38 * compute a DAG of the dependencies (RAW ordering with latency, WAW
73 this->latency = 1 * chans * math_latency;
76 this->latency = 2 * chans * math_latency;
82 this->latency = 3 * chans * math_latency;
87 this->latency = 4 * chans * math_latency;
90 this->latency = 8 * chans * math_latency;
94 /* minimum latency, max is 12 rounds. */
95 this->latency = 5 * chans * math_latency;
98 this->latency = 2;
110 int latency; member in class:schedule_node
167 add_dep(schedule_node *before, schedule_node *after, int latency) argument
[all...]
/external/syslinux/com32/include/sys/
H A Dpci.h36 uint8_t latency; member in struct:pci_dev_info
/external/v8/src/compiler/
H A Dinstruction-scheduler.h66 int latency() const { return latency_; } function in class:v8::internal::compiler::final::ScheduleGraphNode
69 void set_total_latency(int latency) { total_latency_ = latency; } argument
81 // Estimate of the instruction latency (the number of cycles it takes for
119 // for the instruction with the highest latency on the path to reach the end
/external/conscrypt/android/src/main/java/org/conscrypt/
H A DKitKatPlatformOpenSSLSocketImplAdapter.java271 public void setPerformancePreferences(int connectionTime, int latency, int bandwidth) { argument
272 delegate.setPerformancePreferences(connectionTime, latency, bandwidth);
H A DPreKitKatPlatformOpenSSLSocketImplAdapter.java271 public void setPerformancePreferences(int connectionTime, int latency, int bandwidth) { argument
272 delegate.setPerformancePreferences(connectionTime, latency, bandwidth);
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DDelegatingSSLSocket.java280 @Override public void setPerformancePreferences(int connectionTime, int latency, int bandwidth) { argument
281 delegate.setPerformancePreferences(connectionTime, latency, bandwidth);
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
H A DGattClientFacade.java2153 public void onConnectionUpdated(BluetoothGatt gatt, int interval, int latency, argument
2156 + ", interval: " + interval + ", latency: " + latency
2161 mResults.putInt("Latency", latency);
H A DGattServerFacade.java1089 public void onConnectionUpdated(BluetoothDevice device, int interval, int latency, argument
1092 + ", interval: " + interval + ", latency: " + latency
1097 mResults.putInt("Latency", latency);
/external/webrtc/talk/session/media/
H A Dmediasession.h289 void set_buffered_mode_latency(int latency) { argument
290 buffered_mode_latency_ = latency;
/external/webrtc/webrtc/modules/audio_device/linux/
H A Daudio_device_pulse_linux.cc1168 // If configuring a specific latency then we want to specify
1170 // automatically to reach that target latency. However, that flag
1189 uint32_t latency = bytesPerSec * local
1194 _playBufferAttr.maxlength = latency; // num bytes stored in the buffer
1195 _playBufferAttr.tlength = latency; // target fill level of play buffer
1197 _playBufferAttr.minreq = latency / WEBRTC_PA_PLAYBACK_REQUEST_FACTOR;
1202 _configuredLatencyPlay = latency;
1284 // If configuring a specific latency then we want to specify
1286 // automatically to reach that target latency. However, that flag
1305 uint32_t latency local
2409 pa_usec_t latency; local
[all...]
/external/webrtc/webrtc/modules/audio_device/mac/
H A Daudio_device_mac.cc1351 // Get capture device latency
1353 UInt32 latency = 0; local
1356 _inputDeviceID, &propertyAddress, 0, NULL, &size, &latency));
1357 _captureLatencyUs = (UInt32)((1.0e6 * latency) / _inStreamFormat.mSampleRate);
1359 // Get capture stream latency
1367 latency = 0;
1369 _inputDeviceID, &propertyAddress, 0, NULL, &size, &latency));
1371 (UInt32)((1.0e6 * latency) / _inStreamFormat.mSampleRate);
2051 // Get render device latency.
2053 UInt32 latency local
[all...]
/external/libnl/include/linux-private/linux/
H A Dpkt_sched.h510 __u32 latency; /* added delay (us) */ member in struct:tc_netem_qopt
515 __u32 jitter; /* random jitter in latency (us) */

Completed in 849 milliseconds

12