Home
last modified time | relevance | path

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

12345678910>>...29

/linux/tools/perf/Documentation/
H A Dperf-mem.txt1 perf-mem(1)
5 ----
6 perf-mem - Profile memory accesses
9 --------
14 -----------
20 and stores are sampled. Use the -t option to limit to loads or stores.
22 Note that on Intel systems the memory latency reported is the use-latency,
26 On Arm64 this uses SPE to sample load and store operations, therefore hardware
27 and kernel support is required. See linkperf:perf-arm-spe[1] for a setup guide.
31 On AMD this use IBS Op PMU to sample load-store operations.
[all …]
H A Dtips.txt1 For a higher level overview, try: perf report --sort comm,dso
2 Sample related events with: perf record -e '{cycles,instructions}:S'
4 Boolean options have negative forms, e.g.: perf report --no-children
5 To not accumulate CPU time of children symbols add --n
[all...]
H A Dperf-script.txt1 perf-script(1)
5 ----
6 perf-script - Read perf.data (created by perf record) and display trace output
9 ---
[all...]
/linux/tools/perf/arch/x86/util/
H A Dkvm-stat.c1 // SPDX-License-Identifier: GPL-2.0
4 #include "../../../util/kvm-stat.h"
17 .name = "VM-EXIT"
27 * the time of MMIO write: kvm_mmio(KVM_TRACE_MMIO_WRITE...) -> kvm_entry
28 * the time of MMIO read: kvm_exit -> kvm_mmio(KVM_TRACE_MMIO_READ...).
30 static void mmio_event_get_key(struct evsel *evsel, struct perf_sample *sample, in mmio_event_get_key() argument
33 key->key = evsel__intval(evsel, sample, "gpa"); in mmio_event_get_key()
34 key->info = evsel__intval(evsel, sample, "type"); in mmio_event_get_key()
42 struct perf_sample *sample, struct event_key *key) in mmio_event_begin() argument
50 evsel__intval(evsel, sample, "type") == KVM_TRACE_MMIO_WRITE) { in mmio_event_begin()
[all …]
/linux/samples/ftrace/
H A Dsample-trace-array.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 * In this case, it would look for sample-trace.h
15 * This file is called sample-trace-array.h but we want the system
16 * to be called "sample-subsystem". Therefore we must define the name of this
19 * #define TRACE_INCLUDE_FILE sample-trace-array
27 #define TRACE_SYSTEM sample-subsystem
30 * TRACE_SYSTEM is expected to be a C valid variable (alpha-numeric
38 * But the above is only needed if TRACE_SYSTEM is not alpha-numeric
40 * TRACE_SYSTEM. As TRACE_SYSTEM_VAR must be alpha-numeric, if
42 * only alpha-numeric and underscores.
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32mp15x-mecio1-io.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
8 #include "stm32mp15-pinctrl.dtsi"
9 #include "stm32mp15xxaa-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
15 stdout-path = "serial0:1500000n8";
34 reserved-memory {
35 #address-cells = <1>;
36 #size-cells = <1>;
40 compatible = "shared-dma-pool";
[all …]
H A Dstm32mp15xx-dhcor-testbench.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
17 stdout-path = "serial0:115200n8";
20 sd_switch: regulator-sd_switch {
21 compatible = "regulator-gpio";
22 regulator-name = "sd_switch";
23 regulator-min-microvolt = <1800000>;
24 regulator-max-microvolt = <2900000>;
25 regulator-type = "voltage";
26 regulator-always-on;
29 gpios-states = <0>;
[all …]
H A Dstm32mp15xx-dhcor-avenger96.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause)
3 * Copyright (C) Linaro Ltd 2019 - All Rights Reserved
9 #include "stm32mp15xx-dhcor-io1v8.dtsi"
22 cec_clock: clk-cec-fixed {
23 #clock-cells = <0>;
24 compatible = "fixed-clock";
25 clock-frequency = <24000000>;
29 stdout-path = "serial0:115200n8";
32 hdmi-out {
33 compatible = "hdmi-connector";
[all …]
/linux/tools/perf/tests/
H A Dperf-record.c1 // SPDX-License-Identifier: GPL-2.0
15 #include "util/sample.h"
19 int i, cpu = -1, nrcpus = 1024; in sched__get_first_possible_cpu()
23 if (sched_getaffinity(pid, sizeof(*maskp), maskp) == -1) { in sched__get_first_possible_cpu()
29 return -1; in sched__get_first_possible_cpu()
34 if (cpu == -1) in sched__get_first_possible_cpu()
58 struct perf_sample sample; in test__PERF_RECORD() local
68 int err = - in test__PERF_RECORD()
[all...]
H A Dperf-time-to-tsc.c1 // SPDX-License-Identifier: GPL-2.0
15 #include "parse-events.h"
23 #include "util/sample.h"
61 * test__perf_time_to_tsc - test converting perf time to TSC.
63 * This function implements a test that checks that the conversion of perf time
65 * %0 is returned, otherwise %-1 is returned. If TSC conversion is not
93 threads = thread_map__new(- in test__perf_time_to_tsc()
154 struct perf_sample sample; test__perf_time_to_tsc() local
[all...]
/linux/tools/testing/selftests/timers/
H A Dfreq-step.c1 // SPDX-License-Identifier: GPL-2.0-only
15 #include <time.h>
24 #define MAX_PRECISION 500e-9
25 #define MAX_FREQ_ERROR 0.02e-6
26 #define MAX_STDDEV 50e-9
32 struct sample { struct
34 double time; member
45 return ts1->tv_sec - ts2->tv_sec + (ts1->tv_nsec - ts2->tv_nsec) / 1e9; in diff_timespec()
48 static double get_sample(struct sample *sample) in get_sample() argument
59 ts1.tv_sec -= mono_raw_base; in get_sample()
[all …]
/linux/Documentation/devicetree/bindings/iio/adc/
H A Datmel,sama5d2-adc.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/iio/adc/atmel,sama5d2-adc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Eugen Hristev <eugen.hristev@microchip.com>
15 - atmel,sama5d2-adc
16 - microchip,sam9x60-adc
17 - microchip,sama7g5-adc
28 clock-names:
31 vref-supply: true
[all …]
H A 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@foss.st.com>
27 - st,stm32f4-adc-core
28 - st,stm32h7-adc-core
[all …]
/linux/include/uapi/sound/
H A Dsfnt_info.h1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */
8 * Copyright (C) 1999-2000 Takashi Iwai
42 #define SNDRV_SFNT_PROBE_DATA 8 /* optarg=sample */
58 unsigned short type; /* sample type */
63 #define SNDRV_SFNT_PAT_SHARED 0x200 /* sample is shared */
77 unsigned short modatkhld; /* modulation attack & hold time (0x7f7f) */
79 unsigned short modrelease; /* modulation release time (0x807f) */
82 unsigned short volatkhld; /* volume attack & hold time (0x7f7f) */
84 unsigned short volrelease; /* volume release time (0x807f) */
93 unsigned char filterQ; /* initial filter Q [0-15] (0x0) */
[all …]
/linux/tools/perf/util/
H A 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'
123 new_sz = ts->sz + STACK_GROWTH; in thread_stack__grow()
126 new_stack = realloc(ts->stack, sz); in thread_stack__grow()
[all …]
/linux/Documentation/sound/soc/
H A Ddai.rst13 now also popular in many portable devices. This DAI has a RESET line and time
17 frame is 21uS long and is divided into 13 time slots.
30 usually varies depending on the sample rate and the master system clock
31 (SYSCLK). LRCLK is the same as the sample rate. A few devices support separate
33 different sample rates.
35 I2S has several different operating modes:-
45 MSB is transmitted sample size BCLKs before LRC transition.
53 receive the audio data. Bit clock usually varies depending on sample rate
54 while sync runs at the sample rate. PCM also supports Time Division
58 Common PCM operating modes:-
/linux/net/ipv4/
H A 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)
28 * deliberately avoids using the inter-packet spacing approach because that
31 * TCP flows can often be application-limited in request/response workloads.
32 * The estimator marks a bandwidth sample as application-limited if there
[all …]
/linux/include/sound/
H A Dsoundfont.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
9 * Copyright (c) 1999-2000 Takashi iwai <tiwai@suse.de>
27 struct snd_sf_sample *sample; /* Link to sample */ member
51 struct snd_sf_sample *samples; /* The sample headers */
55 * Type of the sample access callback
77 int zone_counter; /* last allocated time for zone */
78 int sample_counter; /* last allocated time for sample */
79 int zone_locked; /* locked time for zone */
80 int sample_locked; /* locked time for sample */
113 #define snd_sf_calc_parm_delay(msec) (0x8000 - (msec) * 1000 / 725)
/linux/Documentation/sound/cards/
H A Daudiophile-usb.rst2 Guide to using M-Audio Audiophile USB with ALSA and Jack
9 This document is a guide to using the M-Audio Audiophile USB (tm) device with
15 * v1.4 - Thibault Le Meur (2007-07-11)
17 - Added Low Endianness nature of 16bits-modes
19 - Modifying document structure
21 * v1.5 - Thibault Le Meur (2007-07-12)
22 - Added AC3/DTS passthru info
35 - This port supports 2 pairs of line-level audio inputs (1/4" TS and RCA)
36 - When the 1/4" TS (jack) connectors are connected, the RCA connectors
47 * sample depth of 16 or 24 bits
[all …]
/linux/samples/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
3 bool "Sample kernel code"
5 You can build and test sample kernel code here.
10 bool "auxdisplay sample"
14 tristate "Build trace_events examples -- loadable modules only"
20 tristate "Build custom trace event example -- loadable modules only"
26 tristate "Build trace_printk module - tests various trace_printk formats"
54 measures the time taken to invoke one function a number of times.
57 tristate "Build sample module for kernel access to Ftrace instancess"
67 different kobject sample modules showing how to use kobjects,
[all …]
/linux/tools/perf/scripts/python/
H A Dgecko.py1 # gecko.py - Convert perf record output to Firefox's gecko profile format
2 # SPDX-License-Identifier: GPL-2.0
9 # perf record -a -g -F 99 sleep 60
14 # perf script gecko -F 99 -a sleep 60
18 import time
32 # Add the Perf-Trace-Util library to the Python path
34 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
48 # https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/ty…
53 PRODUCT = os.popen('uname -op').read().strip()
68 # https://github.com/firefox-devtools/profiler/blob/53970305b51b9b472e26d7457fee1d66cd4e2737/src/ty…
[all …]
/linux/drivers/cpufreq/
H A Dintel_pstate.c1 // SPDX-License-Identifier: GPL-2.0-only
38 #include <asm/intel-family.h>
56 #define ONE_EIGHTH_FP ((int64_t)1 << (FRAC_BITS - 3))
78 mask = (1 << FRAC_BITS) - 1; in ceiling_fp()
95 * struct sample - Store performance sample
97 * performance during last sample period
102 * read from APERF MSR between last and current sample
104 * read from MPERF MSR between last and current sample
105 * @tsc: Difference of time stamp counter between last and
106 * current sample
[all …]
/linux/kernel/trace/
H A Dtrace_hwlat.c1 // SPDX-License-Identifier: GPL-2.0
3 * trace_hwlat.c - A simple Hardware Latency detector.
20 * Although certain hardware-inducing latencies are necessary (for example,
22 * and remote management) they can wreak havoc upon any OS-level performance
23 * guarantees toward low-latency, especially when the OS is not even made
27 * sampling the built-in CPU timer, looking for discontiguous readings.
31 * environment requiring any kind of low-latency performance
34 * Copyright (C) 2008-2009 Jon Masters, Red Hat, Inc. <jcm@redhat.com>
35 * Copyright (C) 2013-2016 Steven Rostedt, Red Hat, Inc. <srostedt@redhat.com>
57 static struct dentry *hwlat_sample_width; /* sample width us */
[all …]
/linux/include/linux/platform_data/
H A Dcros_ec_sensorhub.h1 /* SPDX-License-Identifier: GPL-2.0 */
19 * struct cros_ec_sensor_platform - ChromeOS EC sensor platform information.
27 * typedef cros_ec_sensorhub_push_data_cb_t - Callback function to send datum
30 * @indio_dev: The IIO device that will process the sample.
31 * @data: Vector array of the ring sample.
32 * @timestamp: Timestamp in host timespace when the sample was acquired by
67 * struct cros_ec_sensors_ts_filter_state - Timestamp filetr state.
69 * @x_offset: x is EC interrupt time. x_offset its last value.
70 * @y_offset: y is the difference between AP and EC time, y_offset its last
94 /* struct cros_ec_sensors_ts_batch_state - State of batch of a single sensor.
[all …]
/linux/drivers/input/touchscreen/
H A Dwm9712.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * wm9712.c -- Codec driver for Wolfson WM9712 AC97 Codecs.
65 * Set adc sample delay.
67 * For accurate touchpanel measurements, some settling time may be
78 MODULE_PARM_DESC(delay, "Set adc sample delay.");
87 MODULE_PARM_DESC(five_wire, "Set to '1' to use 5-wire touchscreen.");
117 * ADC sample delay times in uS
160 dev_dbg(wm->dev, "setting pen detect pull-up to %d Ohms\n", in wm9712_phy_init()
167 dev_dbg(wm->dev, "setting 5-wire touchscreen mode.\n"); in wm9712_phy_init()
170 dev_warn(wm->dev, "pressure measurement is not " in wm9712_phy_init()
[all …]

12345678910>>...29