Home
last modified time | relevance | path

Searched full:latency (Results 1 – 25 of 815) sorted by relevance

12345678910>>...33

/third_party/gstreamer/gstplugins_bad/gst/audiolatency/
Dgstaudiolatency.c1 /* Audio latency measurement plugin
25 * Measures the audio latency between the source pad and the sink pad by
34 * gst-launch-1.0 -v autoaudiosrc ! audiolatency print-latency=true ! autoaudiosink
35 * ]| Continuously print the latency of the audio output and the audio capture
47 * 'last-latency' and 'average-latency' properties at most once a second, or
48 * parse the "latency" element message, which contains the "last-latency" and
49 * "average-latency" fields in the GstStructure.
51 * The average latency is a running average of the last 5 measurements.
148 g_param_spec_boolean ("print-latency", "Print latencies", in gst_audiolatency_class_init()
153 g_param_spec_int64 ("last-latency", "Last measured latency", in gst_audiolatency_class_init()
[all …]
/third_party/pulseaudio/src/modules/
Dmodule-loopback.c47 "latency_msec=<latency in ms> "
48 "max_latency_msec=<maximum latency in ms> "
93 pa_usec_t latency; member
98 /* Latency boundaries and current values */
109 /* lower latency limit found by underruns */
250 /* Calculate best rate to correct the current latency offset, limit at in rate_controller()
260 * latency that module-loopback can deliver with a given source and sink.
263 * depends on the reported latency ranges. In cases were the lower bounds of
264 * source and sink latency are not reported correctly (USB) the result will
269 /* If we already detected a real latency limit because of underruns, use it */ in update_minimum_latency()
[all …]
/third_party/gstreamer/gstreamer/gst/
Dgstpipeline.c118 GstClockTime latency; member
184 * GstPipeline:latency: in gst_pipeline_class_init()
186 * Latency to configure on the pipeline. See gst_pipeline_set_latency(). in gst_pipeline_class_init()
191 g_param_spec_uint64 ("latency", "Latency", in gst_pipeline_class_init()
192 "Latency to configure on the pipeline", 0, G_MAXUINT64, in gst_pipeline_class_init()
221 pipeline->priv->latency = DEFAULT_LATENCY; in gst_pipeline_init()
620 GstClockTime latency; in gst_pipeline_do_latency() local
625 latency = pipeline->priv->latency; in gst_pipeline_do_latency()
628 if (latency == GST_CLOCK_TIME_NONE) in gst_pipeline_do_latency()
631 GST_DEBUG_OBJECT (pipeline, "querying latency"); in gst_pipeline_do_latency()
[all …]
/third_party/gstreamer/gstplugins_bad/docs/plugins/html/
Dgst-plugins-bad-plugins-audiolatency.html48 …s-audiolatency.html#GstAudioLatency--average-latency" title="The “average-latency” property">avera…
53 …plugins-audiolatency.html#GstAudioLatency--last-latency" title="The “last-latency” property">last-
58 …ugins-audiolatency.html#GstAudioLatency--print-latency" title="The “print-latency” property">print…
95 <p>Measures the audio latency between the source pad and the sink pad by
107 …"gtkdoc opt">!</span> audiolatency print<span class="gtkdoc opt">-</span>latency<span class="gtkdo…
113 <p> Continuously print the latency of the audio output and the audio capture</p>
122 'last-latency' and 'average-latency' properties at most once a second, or
123 parse the "latency" element message, which contains the "last-latency" and
124 "average-latency" fields in the GstStructure.</p>
125 <p>The average latency is a running average of the last 5 measurements.</p>
[all …]
/third_party/gstreamer/gstreamer/plugins/tracers/
Dgstlatency.c4 * gstlatency.c: tracing module that logs processing latency stats
23 * @short_description: log processing latency stats
27 * the entire pipeline latency and per element latency. By default, only
28 * pipeline latency is traced. The 'flags' parameter can be used to enabled
32 * GST_TRACERS="latency(flags=pipeline+element)" GST_DEBUG=GST_TRACER:7 ./...
40 * latency.
53 GST_DEBUG_CATEGORY_INIT (gst_latency_debug, "latency", 0, "latency tracer");
234 /* allow for non-parented pads to send latency probes as used in e.g. in send_latency_probe()
253 GST_DEBUG ("%s_%s: Sending latency event %p", GST_DEBUG_PAD_NAME (pad), in send_latency_probe()
274 GST_DEBUG ("%s_%s: Sending sub-latency event %p", in send_latency_probe()
[all …]
/third_party/grpc/src/php/tests/qps/generated_code/Grpc/Testing/
DProxyStat.php17 * Generated from protobuf field <code>double latency = 1;</code>
19 protected $latency = 0.0; variable in Grpc\\Testing\\ProxyStat
27 * @type float $latency
36 * Generated from protobuf field <code>double latency = 1;</code>
41 return $this->latency;
45 * Generated from protobuf field <code>double latency = 1;</code>
52 $this->latency = $var;
/third_party/ltp/testcases/kernel/controllers/cpuctl/
Dcpuctl_testplan.txt107 more groups on fairness.(however latency check will be done in future)
133 Test 11-12: LATENCY TESTS
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
[all …]
Drun_cpuctl_latency_test.sh24 # Description: This file runs the setup for testing latency under heavy load #
28 # Test 01: Tests latency when no cgroup is mounted #
29 # Test 02: Tests latency when cgroup is mounted #
78 echo "Cleanup done for latency test $TEST_NUM"
92 # There is no single criterion for max latency, so pass or fail is only
139 # Calculate the alowed latency value
145 echo TINFO "Running cpuctl Latency Test 1"
159 # Run the latency checking task
171 echo TINFO "Running cpuctl Latency Test 2"
190 # Calculate the alowed latency value
Dcpuctl_latency_check_task.c26 /* on a busy machine and checks if there is any added latency */
106 printf("TINFO \tThe latency check task started\n"); in main()
125 /* capture the maximum latency observed */ in main()
139 printf("FAIL \tThe Latency test %d failed\n", test_num); in main()
140 printf("Max latency observed = %u in Iteration %d\n", in main()
144 printf("PASS \tThe Latency test %d passed\n", test_num); in main()
145 printf("Max latency observed = %u microsec in Iteration %d\n", in main()
/third_party/gstreamer/gstplugins_good/gst/audiofx/
Daudiofxbasefirfilter.c481 g_warning ("Changing the \"low-latency\" property " in gst_audio_fx_base_fir_filter_set_property()
546 * GstAudioFXBaseFIRFilter:low-latency: in gst_audio_fx_base_fir_filter_class_init()
548 * Work in low-latency mode. This mode is much slower for large filter sizes in gst_audio_fx_base_fir_filter_class_init()
549 * but the latency is always only the pre-latency of the filter. in gst_audio_fx_base_fir_filter_class_init()
552 g_param_spec_boolean ("low-latency", "Low latency", in gst_audio_fx_base_fir_filter_class_init()
553 "Operate in low latency mode. This mode is slower but the " in gst_audio_fx_base_fir_filter_class_init()
554 "latency will only be the filter pre-latency. " in gst_audio_fx_base_fir_filter_class_init()
628 outsamples = self->nsamples_in - (self->nsamples_out - self->latency); in gst_audio_fx_base_fir_filter_push_residue()
640 /* Process the difference between latency and residue length samples in gst_audio_fx_base_fir_filter_push_residue()
642 * when we only got one buffer smaller than latency */ in gst_audio_fx_base_fir_filter_push_residue()
[all …]
Daudiofirfilter.c27 * used and the "latency" property has to be set to the latency (in samples)
28 * that is introduced by the filter kernel. Setting a latency of n samples
119 g_param_spec_uint64 ("latency", "Latecy", in gst_audio_fir_filter_class_init()
120 "Filter latency in samples", in gst_audio_fir_filter_class_init()
166 kernel, self->kernel->n_values, self->latency, NULL); in gst_audio_fir_filter_update_kernel()
175 self->latency = 0; in gst_audio_fir_filter_init()
235 self->latency = g_value_get_uint64 (value); in gst_audio_fir_filter_set_property()
256 g_value_set_uint64 (value, self->latency); in gst_audio_fir_filter_get_property()
/third_party/gstreamer/gstplugins_bad/gst/mpegtsdemux/
DTODO11 * Latency
12 * Calculate the actual latency instead of returning a fixed
13 value. The latency (for live streams) is the difference between the
67 A latency is introduced between the time the buffer containing the
71 => That latency needs to be reported.
78 => The algorithm to calculate the latency should take that into
114 Latency is reported just as with the live use-case.
/third_party/ltp/testcases/realtime/func/hrtimer-prio/
Dhrtimer-prio.c23 * Test the latency of hrtimers under rt load.
27 * lower priority threads can increase the latency of the higher
53 #define DEF_CRITERIA 10 // maximum timer latency in microseconds
80 (" -m# #:maximum timer latency in microseconds, defaults to %d\n", in usage()
211 "High Resolution Timer Latency Scatter Plot", in main()
212 "Iteration", "Latency (us)", &dat, "points"); in main()
213 stats_container_save("hist", "High Resolution Timer Latency Histogram", in main()
214 "Latency (us)", "Samples", &hist, "steps"); in main()
226 printf("\nCriteria: Maximum wakeup latency < %lu us\n", in main()
/third_party/ltp/testcases/realtime/func/async_handler/
Dasync_handler_tsc.c184 "Asynchronous Event Handling Latency (TSC) Scatter Plot", in signal_thread()
185 "Iteration", "Latency (us)", &dat, "points"); in signal_thread()
187 "Asynchronous Event Handling Latency (TSC) Histogram", in signal_thread()
188 "Latency (us)", "Samples", &hist, "steps"); in signal_thread()
207 printf("Asynchronous Event Handling Latency\n"); in main()
224 printf("%d samples over 20 us latency\n", over_20); in main()
225 printf("%d samples over 25 us latency\n", over_25); in main()
226 printf("%d samples over 30 us latency\n", over_30); in main()
Dasync_handler.c23 * Measure the latency involved in asynchronous event handlers.
24 * Specifically it measures the latency of the pthread_cond_signal
164 "Asynchronous Event Handling Latency Scatter Plot", in signal_thread()
165 "Iteration", "Latency (us)", &dat, "points"); in signal_thread()
167 "Asynchronous Event Handling Latency Histogram", in signal_thread()
168 "Latency (us)", "Samples", &hist, "steps"); in signal_thread()
180 printf("Asynchronous Event Handling Latency\n"); in main()
/third_party/ltp/testcases/realtime/func/pthread_kill_latency/
Dpthread_kill_latency.c23 * Measure the latency involved in sending a signal to a thread
29 * The maximum and the minimum latency is reported.
42 * 2008-Jan-23: Latency tracing added by
76 printf(" -l threshold trace latency with given threshold in us\n"); in usage()
195 ("Latency threshold (%luus) exceeded at iteration %d\n", in signal_receiving_thread()
205 stats_container_save("samples", "pthread_kill Latency Scatter Plot", in signal_receiving_thread()
206 "Iteration", "Latency (us)", &dat, "points"); in signal_receiving_thread()
207 stats_container_save("hist", "pthread_kill Latency Histogram", in signal_receiving_thread()
208 "Latency (us)", "Samples", &hist, "steps"); in signal_receiving_thread()
289 printf("pthread_kill Latency\n"); in main()
/third_party/ltp/testcases/realtime/func/sched_latency/
Dsched_latency.c23 * Measure the latency involved with periodic scheduling.
44 * 2007-Jul-12: Latency tracing added by Josh Triplett <josh@kernel.org>
84 printf(" -lTHRESHOLD trace latency, with given threshold in us\n"); in usage()
152 printf(" latency: %8llu us\n", in periodic_thread()
207 ("Latency threshold (%lluus) exceeded at iteration %d\n", in periodic_thread()
217 "Periodic Scheduling Latency Scatter Plot", in periodic_thread()
218 "Iteration", "Latency (us)", &dat, "points"); in periodic_thread()
219 stats_container_save("hist", "Periodic Scheduling Latency Histogram", in periodic_thread()
220 "Latency (us)", "Samples", &hist, "steps"); in periodic_thread()
250 printf("Scheduling Latency\n"); in main()
/third_party/gstreamer/gstreamer/libs/gst/base/
Dgstaggregator.c128 GstClockTime latency);
247 * latency property is set to > 0 */
358 gint64 latency; /* protected by both src_lock and all pad locks */ member
628 GstClockTime latency; in gst_aggregator_wait_and_check() local
636 latency = gst_aggregator_get_latency_unlocked (self); in gst_aggregator_wait_and_check()
662 if (!GST_CLOCK_TIME_IS_VALID (latency) || in gst_aggregator_wait_and_check()
688 time += latency; in gst_aggregator_wait_and_check()
692 " latency %" GST_TIME_FORMAT " current %" GST_TIME_FORMAT ")", in gst_aggregator_wait_and_check()
695 GST_TIME_ARGS (start), GST_TIME_ARGS (latency), in gst_aggregator_wait_and_check()
1757 GST_WARNING_OBJECT (self, "Latency query failed"); in gst_aggregator_query_latency_unlocked()
[all …]
/third_party/grpc/test/cpp/qps/
Djson_run_localhost_scenarios.bzl3latency", "name": "grpc.optimization_target"}], "async_server_threads": 16, "threads_per_cq": 1, "…
/third_party/pulseaudio/src/pulse/
Ddef.h183 /**< Interpolate the latency for this stream. When enabled,
189 * using this option when requesting latency information
190 * frequently. This is especially useful on long latency network
200 * latency estimations that caused the time to jump ahead can
209 * will be able to query the current time and latency with
305 /**< Try to adjust the latency of the sink/source based on the
395 * In strict low-latency playback scenarios you might want to set this to
397 * If you do so, you ensure that the latency doesn't grow beyond what is
399 * the latency is lower than what the server can reliably handle. */
411 * for applications that have specific latency requirements
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiobasesrc.c61 /* FIXME: 2.0, handle BUFFER_TIME and LATENCY in nanoseconds */
141 /* FIXME: 2.0, handle BUFFER_TIME and LATENCY in nanoseconds */ in gst_audio_base_src_class_init()
145 "of data that is buffered in the device and the maximum latency that " in gst_audio_base_src_class_init()
152 g_param_spec_int64 ("latency-time", "Latency Time", in gst_audio_base_src_class_init()
154 "microseconds. This is the minimum latency that the source reports. " in gst_audio_base_src_class_init()
156 "\"actual-latency-time\"", 1, G_MAXINT64, DEFAULT_LATENCY_TIME, in gst_audio_base_src_class_init()
171 * GstAudioBaseSrc:actual-latency-time: in gst_audio_base_src_class_init()
173 * Actual configured audio latency in microseconds. in gst_audio_base_src_class_init()
176 g_param_spec_int64 ("actual-latency-time", "Actual Latency Time", in gst_audio_base_src_class_init()
177 "Actual configured audio latency in microseconds", in gst_audio_base_src_class_init()
[all …]
/third_party/ltp/testcases/realtime/
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 :
/third_party/pulseaudio/src/modules/rtp/
Dmodule-rtp-recv.c67 "latency_msec=<latency in ms> "
128 pa_usec_t latency; member
142 * latency added by the resampler */ in sink_input_process_msg()
275 pa_usec_t wi, ri, render_delay, sink_delay = 0, latency; in rtpoll_work_cb() local
296 latency = 0; in rtpoll_work_cb()
298 latency = wi - ri; in rtpoll_work_cb()
300 …pa_log_debug("Write index deviates by %0.2f ms, expected %0.2f ms", (double) latency/PA_USEC_PER_M… in rtpoll_work_cb()
303 * the last T seconds was Rⁿ, then the increase in buffer latency ΔLⁿ = Lⁿ - Lⁿ⁻ⁱ in that in rtpoll_work_cb()
309 … * Setting the sample rate to R̂ results in the latency being constant (if the estimate of R̂ in rtpoll_work_cb()
311 … * latency L̂. So instead of setting Rⁿ⁺ⁱ to R̂ immediately, the strategy will be to reduce R in rtpoll_work_cb()
[all …]
/third_party/gstreamer/gstplugins_good/tests/examples/rtp/
Dclient-VP8-OPUS.sh18 LATENCY=100
20 gst-launch-1.0 -v rtpbin name=rtpbin latency=$LATENCY \
Dclient-H263p-PCMA.sh18 LATENCY=100
20 gst-launch-1.0 -v rtpbin name=rtpbin latency=$LATENCY \

12345678910>>...33