Home
last modified time | relevance | path

Searched +full:min +full:- +full:sample +full:- +full:time (Results 1 – 25 of 276) sorted by relevance

12345678910>>...12

/Linux-v5.10/drivers/cpufreq/
Dintel_pstate.c1 // SPDX-License-Identifier: GPL-2.0-only
34 #include <asm/intel-family.h>
51 #define ONE_EIGHTH_FP ((int64_t)1 << (FRAC_BITS - 3))
73 mask = (1 << FRAC_BITS) - 1; in ceiling_fp()
100 * struct sample - Store performance sample
102 * performance during last sample period
107 * read from APERF MSR between last and current sample
109 * read from MPERF MSR between last and current sample
110 * @tsc: Difference of time stamp counter between last and
111 * current sample
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/iio/adc/
Dat91-sama5d2_adc.txt4 - compatible: Should be "atmel,sama5d2-adc" or "microchip,sam9x60-adc".
5 - reg: Should contain ADC registers location and length.
6 - interrupts: Should contain the IRQ line for the ADC.
7 - clocks: phandle to device clock.
8 - clock-names: Must be "adc_clk".
9 - vref-supply: Supply used as reference for conversions.
10 - vddana-supply: Supply for the adc device.
11 - atmel,min-sample-rate-hz: Minimum sampling rate, it depends on SoC.
12 - atmel,max-sample-rate-hz: Maximum sampling rate, it depends on SoC.
13 - atmel,startup-time-ms: Startup time expressed in ms, it depends on SoC.
[all …]
Dst,stm32-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: "http://devicetree.org/schemas/iio/adc/st,stm32-adc.yaml#"
5 $schema: "http://devicetree.org/meta-schemas/core.yaml#"
10 STM32 ADC is a successive approximation analog-to-digital converter.
13 stored in a left-aligned or right-aligned 32-bit data register.
17 voltage goes beyond the user-defined, higher or lower thresholds.
22 - Fabrice Gasnier <fabrice.gasnier@st.com>
27 - st,stm32f4-adc-core
28 - st,stm32h7-adc-core
[all …]
Dfsl,vf610-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/fsl,vf610-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Fugang Duan <fugang.duan@nxp.com>
17 const: fsl,vf610-adc
29 clock-names:
32 vref-supply:
35 fsl,adck-max-frequency:
36 $ref: /schemas/types.yaml#/definitions/uint32-array
[all …]
/Linux-v5.10/kernel/sched/
Dpsi.c21 * The time in which a task can execute on a CPU is our baseline for
22 * productivity. Pressure expresses the amount of time in which this
33 * In the FULL state of a given resource, all non-idle tasks are
42 * The percentage of wallclock time spent in those compound stall
47 * %SOME = time(SOME) / period
48 * %FULL = time(FULL) / period
54 * unrealized due to resource contention *also* scales with non-idle
63 * threads will be contended at any given time, or about 0.4%.
66 * given time *one* of the tasks is delayed due to a lack of memory.
73 * we have to base our calculation on the number of non-idle tasks in
[all …]
/Linux-v5.10/net/ipv4/
Dtcp_rate.c1 // SPDX-License-Identifier: GPL-2.0-only
6 * level, it operates by taking a delivery rate sample for each ACK.
8 * A rate sample records the rate at which the network delivered packets
9 * for this flow, calculated over the time interval between the transmission
13 * the estimator generates a delivery rate sample. Typically it uses the rate
21 * send_rate = #pkts_delivered/(last_snd_time - first_snd_time)
22 * ack_rate = #pkts_delivered/(last_ack_time - first_ack_time)
23 * bw = min(send_rate, ack_rate)
28 * deliberately avoids using the inter-packet spacing approach because that
31 * TCP flows can often be application-limited in request/response workloads.
[all …]
Dtcp_vegas.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * IEEE Journal on Selected Areas in Communication, 13(8):1465--1480,
17 * using fine-grained timers, NewReno, and FACK.
19 * only every-other RTT during slow start, we increase during
27 * minimum RTT sample observed during the last RTT to calculate
29 * o When the sender re-starts from idle, it waits until it has
55 /* There are several situations when we must "re-start" Vegas:
65 * stale info -- both the saved cwnd and congestion feedback are
76 /* Begin taking Vegas samples next time we send something. */ in vegas_enable()
77 vegas->doing_vegas_now = 1; in vegas_enable()
[all …]
Dtcp_lp.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TCP Low Priority (TCP-LP)
11 * the original TCP-LP implementation:
16 * o Handling calculation of One-Way-Delay (OWD) within rtt_sample, since
20 * o OWD is handled in relative format, where local time stamp will in
26 * http://www.ece.rice.edu/~akuzma/Doc/akuzma/TCP-LP.pdf
28 * http://www-ece.rice.edu/networks/TCP-LP/
34 * http://tcp-lp-mod.sourceforge.net/
50 * TCP-LP's state flags.
62 * @flag: TCP-LP state flag
[all …]
Dtcp_westwood.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * TCP Westwood+: end-to-end bandwidth estimation for TCP
10 * - Mascolo S, Casetti, M. Gerla et al.
13 * - A. Grieco, s. Mascolo
17 * - A. Dell'Aera, L. Grieco, S. Mascolo.
18 * "Linux 2.4 Implementation of Westwood+ TCP with Rate-Halving :
21 * Westwood+ employs end-to-end bandwidth measurement to set cwnd and
43 u8 reset_rtt_min; /* Reset RTT min to next RTT sample*/
55 * information about RTTmin at this time so we simply set it to
65 w->bk = 0; in tcp_westwood_init()
[all …]
Dtcp_bbr.c21 * +---> STARTUP ----+
24 * | DRAIN ----+
27 * +---> PROBE_BW ----+
30 * | +----+ |
32 * +---- PROBE_RTT <--+
37 * A long-lived BBR flow spends the vast majority of its time remaining
41 * sample that matches or decreases its min_rtt estimate for 10 seconds, then
42 * it briefly enters PROBE_RTT to cut inflight to a minimum value to re-probe
43 * the path's two-way propagation delay (min_rtt). When exiting PROBE_RTT, if
48 * "BBR: Congestion-Based Congestion Control",
[all …]
/Linux-v5.10/include/sound/sof/
Ddai-intel.h1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */
55 /* SSP Configuration Request - SOF_IPC_DAI_SSP_CONFIG */
82 uint32_t bclk_delay; /* guaranteed time (ms) for which BCLK
87 /* HDA Configuration Request - SOF_IPC_DAI_HDA_CONFIG */
95 /* ALH Configuration Request - SOF_IPC_DAI_ALH_CONFIG */
106 /* DMIC Configuration Request - SOF_IPC_DAI_DMIC_CONFIG */
121 * that delays the sampling time of data by half cycles of DMIC source clock
149 * range 1.0 - 3.2 MHz is usually supported microphones. Some microphones are
150 * multi-mode capable and there may be denied mic clock frequencies between
154 * The duty cycle could be set to 48-52% if not known. Generally these
[all …]
/Linux-v5.10/tools/perf/
Dbuiltin-kvm.c1 // SPDX-License-Identifier: GPL-2.0
5 #include "util/build-id.h"
16 #include <subcmd/parse-options.h>
17 #include "util/trace-event.h"
21 #include "util/synthetic-events.h"
24 #include "util/ordered-events.h"
25 #include "util/kvm-stat.h"
32 #include <sys/time.h>
68 struct perf_sample *sample, in exit_event_get_key() argument
71 key->info = 0; in exit_event_get_key()
[all …]
Dbuiltin-timechart.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * builtin-timechart.c - make an svg timechart of system activity
30 #include <subcmd/parse-options.h>
31 #include "util/parse-events.h"
45 #define PWR_EVENT_EXIT -1
186 u64 time; member
201 struct per_pid *cursor = tchart->all_data; in find_create_pid()
204 if (cursor->pid == pid) in find_create_pid()
206 cursor = cursor->next; in find_create_pid()
210 cursor->pid = pid; in find_create_pid()
[all …]
Dbuiltin-sched.c1 // SPDX-License-Identifier: GPL-2.0
4 #include "perf-sys.h"
21 #include "util/time-utils.h"
24 #include <subcmd/parse-options.h>
25 #include "util/trace-event.h"
102 /* in tsk->exit_state */
106 /* in tsk->state again */
147 struct perf_sample *sample, struct machine *machine);
150 struct perf_sample *sample, struct machine *machine);
153 struct perf_sample *sample, struct machine *machine);
[all …]
Dbuiltin-inject.c1 // SPDX-License-Identifier: GPL-2.0
3 * builtin-inject.c
20 #include "util/build-id.h"
25 #include "util/synthetic-events.h"
30 #include <subcmd/parse-options.h>
68 size = perf_data__write(&inject->output, buf, sz); in output_bytes()
70 return -errno; in output_bytes()
72 inject->bytes_written += size; in output_bytes()
82 return output_bytes(inject, event, event->header.size); in perf_event__repipe_synth()
104 return perf_event__repipe_synth(session->tool, event); in perf_event__repipe_op2_synth()
[all …]
/Linux-v5.10/Documentation/devicetree/bindings/display/panel/
Dpanel-timing.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/display/panel/panel-timing.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Thierry Reding <thierry.reding@gmail.com>
11 - Sam Ravnborg <sam@ravnborg.org>
20 +----------+-------------------------------------+----------+-------+
24 +----------#######################################----------+-------+
29 |<-------->#<-------+--------------------------->#<-------->|<----->|
34 +----------#######################################----------+-------+
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dstm32mp15xx-dhcom-som.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de>
6 #include "stm32mp15-pinctrl.dtsi"
7 #include "stm32mp15xxaa-pinctrl.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/mfd/st,stpmic1.h>
21 reserved-memory {
22 #address-cells = <1>;
23 #size-cells = <1>;
27 compatible = "shared-dma-pool";
[all …]
/Linux-v5.10/Documentation/sound/cards/
Dhdspm.rst2 Software Interface ALSA-DSP MADI Driver
5 (translated from German, so no good English ;-),
7 2004 - winfried ritsch
11 the Controls and startup-options are ALSA-Standard and only the
19 ------------------
21 * number of channels -- depends on transmission mode
29 * Single Speed -- 1..64 channels
37 * Double Speed -- 1..32 channels
40 Note: Choosing the 56-channel mode for
41 transmission/receive-mode , only 28 are transmitted/received
[all …]
/Linux-v5.10/tools/perf/scripts/python/
Dpowerpc-hcalls.py1 # SPDX-License-Identifier: GPL-2.0+
13 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
21 # 'min': minimum time nsec
22 # 'max': maximum time nsec
23 # 'time': average time nsec
159 print_ptrn = '%-28s%10s%10s%10s%10s'
162 print(print_ptrn % ('hcall', 'count', 'min(ns)', 'max(ns)', 'avg(ns)'))
163 print('-' * 68)
166 time = output[opcode]['time']
168 min_t = output[opcode]['min']
[all …]
/Linux-v5.10/tools/perf/util/
Dthread-stack.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * thread-stack.c: Synthesize a thread's stack using call / return events
21 #include "call-path.h"
22 #include "thread-stack.h"
40 * struct thread_stack_entry - thread stack entry.
43 * @ref: external reference (e.g. db_id of sample)
47 * @db_id: id used for db-export
68 * struct thread_stack - thread stack constructed from 'call' and 'return'
115 return !(thread->tid || thread->pid_); in thread_stack__per_cpu()
123 new_sz = ts->sz + STACK_GROWTH; in thread_stack__grow()
[all …]
Djitdump.c1 // SPDX-License-Identifier: GPL-2.0
17 #include "build-id.h"
43 bool needs_bswap; /* handles cross-endianness */
92 if (fd == -1) { in jit_emit_elf()
94 return -1; in jit_emit_elf()
111 if (!(jd && jd->in)) in jit_close()
113 funlockfile(jd->in); in jit_close()
114 fclose(jd->in); in jit_close()
115 jd->in = NULL; in jit_close()
126 evlist__for_each_entry(session->evlist, evsel) { in jit_validate_events()
[all …]
/Linux-v5.10/drivers/iio/imu/inv_icm42600/
Dinv_icm42600_timestamp.c1 // SPDX-License-Identifier: GPL-2.0-or-later
15 /* allow a jitter of +/- 2% */
17 /* compute min and max periods accepted */
19 (((_p) * (100 - INV_ICM42600_TIMESTAMP_JITTER)) / 100)
29 acc->values[acc->idx++] = val; in inv_update_acc()
30 if (acc->idx >= ARRAY_SIZE(acc->values)) in inv_update_acc()
31 acc->idx = 0; in inv_update_acc()
34 for (i = 0; i < ARRAY_SIZE(acc->values); ++i) { in inv_update_acc()
35 if (acc->values[i] == 0) in inv_update_acc()
37 sum += acc->values[i]; in inv_update_acc()
[all …]
/Linux-v5.10/tools/testing/selftests/bpf/
Dbpf_tcp_helpers.h1 /* SPDX-License-Identifier: GPL-2.0 */
69 syn_fastopen_ch:1, /* Active TFO re-enabling probe */
70 syn_data_acked:1,/* data in SYN is acked by SYN-ACK */
87 return (void *)inet_csk(sk)->icsk_ca_priv; in inet_csk_ca()
97 return (__s32)(seq1-seq2) < 0; in before()
131 __u32 prior_delivered; /* tp->delivered at "prior_mstamp" */
133 long interval_us; /* time for tp->delivered to incr "delivered" */
136 long rtt_us; /* RTT of last (S)ACKed packet (or -1) */
140 bool is_app_limited; /* is sample from packet with bubble in pipe? */
141 bool is_retrans; /* is sample from retransmission? */
[all …]
/Linux-v5.10/sound/usb/
Dformat.c1 // SPDX-License-Identifier: GPL-2.0-or-later
9 #include <linux/usb/audio-v2.h>
10 #include <linux/usb/audio-v3.h>
39 switch (fp->protocol) { in parse_audio_format_i_type()
43 sample_width = fmt->bBitResolution; in parse_audio_format_i_type()
44 sample_bytes = fmt->bSubframeSize; in parse_audio_format_i_type()
51 sample_width = fmt->bBitResolution; in parse_audio_format_i_type()
52 sample_bytes = fmt->bSubslotSize; in parse_audio_format_i_type()
57 fp->dsd_raw = true; in parse_audio_format_i_type()
66 sample_width = as->bBitResolution; in parse_audio_format_i_type()
[all …]
/Linux-v5.10/include/uapi/sound/
Dasound.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
3 * Advanced Linux Sound Architecture - ALSA - Driver
4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>,
5 * Abramo Bagnara <abramo@alsa-project.org>
20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
37 #include <time.h>
68 * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort *
74 unsigned char db2_sf_ss; /* sample frequency and size */
77 unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */
82 * Section for driver hardware dependent interface - /dev/snd/hw? *
[all …]

12345678910>>...12