Searched refs:latency (Results 1 - 25 of 67) sorted by relevance

123

/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 DAndroid.mk5 latency.c misc.c output.c proc.c seek.c trace.c \
H A Dplat.c67 void plat_x2c(void *info, __u64 ts, __u64 latency) argument
70 double lat = TO_SEC(latency);
H A DMakefile16 OBJS = args.o bt_timeline.o devmap.o devs.o dip_rb.o iostat.o latency.o \
H A Dglobals.h238 /* latency.c */
241 void latency_q2d(struct d_info *dip, __u64 tstamp, __u64 latency);
242 void latency_d2c(struct d_info *dip, __u64 tstamp, __u64 latency);
243 void latency_q2c(struct d_info *dip, __u64 tstamp, __u64 latency);
281 void plat_x2c(void *info, __u64 ts, __u64 latency);
/external/autotest/client/cros/
H A Dhttp_speed.py45 def BenchmarkOneDirection(latency, label, url, benchmark_function):
49 latency: Time for a 1-byte transfer
64 # Long enough that startup latency shouldn't dominate.
65 target = max(20 * latency, 10)
77 # Take the latency into account when guessing a size for a
80 adjusted_transfer_time = max(transfer_time - latency, 0.01)
106 # latency.
107 latency = TimeTransferDown(download_url_format_string, 1)
109 logging.info('Latency is %s' % latency)
112 latency,
[all...]
/external/autotest/client/site_tests/hardware_MemoryLatency/
H A Dhardware_MemoryLatency.py12 """Autotest for measuring memory latency.
31 to sample the latency
56 latency = float(s[1])
59 if latency <= 0:
60 raise error.TestFail('invalid latency %f' % latency)
61 self._results['ns_' + str(size) + 'KB'] = latency
70 _results: dict containing keyvals with latency measurements
/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/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
H A Drendering_stats.py27 # Name for a main thread scroll update latency event.
29 # Name for a gesture scroll update latency event.
49 with "Latency". The trace event has a member 'data' containing its latency
69 Input event latency is the time from when the input event is created to
78 If the latency starts with a
80 classified as a scroll update instead of a normal input latency measure.
101 latency = (end_time - start_time) / 1000.0
102 input_event_latencies.append((start_time, event.name, latency))
105 return [(name, latency) for _, name, latency i
[all...]
/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/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/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/webrtc/webrtc/sound/
H A Dpulseaudiosoundsystem.h138 int latency,
146 int latency,
154 int latency,
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...]
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...]
/external/netperf/doc/examples/
H A Dbloat.sh3 # buffer bloat on latency. We assume that netperf has been compiled
87 # being that latency can go to the top of the charts and throughput
93 CDEF:latency=1.0,trans,/ \
94 VDEF:maxlatency=latency,MAXIMUM \
110 -t "Effect of bulk transfer on latency to $1" \
115 CDEF:latency=1.0,trans,/ \
116 LINE2:latency#00FF0080:"TCP_RR Latency" \
/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/autotest/client/tests/netpipe/
H A Dnetpipe.py105 buff, bandwidth, latency = line.split()
107 keyval = {'bandwidth':bandwidth, 'latency':latency}
/external/autotest/server/cros/network/
H A Darping_runner.py94 latency = float(match.group(5))
95 latencies.append(latency)
129 @param max_average_latency float maximum value for average latency in
/external/ltp/testcases/realtime/
H A D00_Descriptions.txt44 measures the latency of the pthread_cond_signal call until signalled thread
56 timestamp clock(TSC), for pthread_cond_signal latency.
66 gtod-latency.c:
88 consecutive calls is reported as the latency. The maximum, minimum and
91 rdtsc-latency.c:
170 - Measures the latency involved in sending a signal to a thread using
176 latency is reported.
196 - Measures the latency involved with periodic scheduling. A thread is created
217 perf/latency testcases :
/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/chromium-trace/catapult/telemetry/third_party/tsproxy/
H A Dtsproxy.py60 def __init__(self, direction, latency, kbps):
62 self.latency = latency
79 message['time'] = time.clock() + self.latency
86 if main_thread and connection_id in connections and self.peer in connections[connection_id]and self.latency == 0 and self.kbps == .0:
134 # process messages as long as the next message is sendable (latency or available bytes)
580 latency = rtt / 2000.0
581 in_pipe.latency = latency
582 out_pipe.latency
[all...]
/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;

Completed in 629 milliseconds

123