Home
last modified time | relevance | path

Searched full:samples (Results 1 – 25 of 1469) sorted by relevance

12345678910>>...59

/kernel/linux/linux-4.19/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c19 unsigned long long timing(clockid_t clk_id, unsigned long long samples) in timing() argument
27 for (i = 0; i < samples; i++) { in timing()
52 unsigned long long samples = 1 << i; in calibrate() local
55 if (timing(CLOCK_REALTIME, samples) / 1000000000ULL > 5) in calibrate()
56 return samples; in calibrate()
70 unsigned long long samples; in main() local
74 samples = strtoull(argv[1], NULL, 0); in main()
76 samples = calibrate(); in main()
78 printf("Benchmarking %llu samples...\n", samples); in main()
80 native = timing(CLOCK_PROCESS_CPUTIME_ID, samples) / samples; in main()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/
Dseccomp_benchmark.c19 unsigned long long timing(clockid_t clk_id, unsigned long long samples) in timing() argument
27 for (i = 0; i < samples; i++) { in timing()
48 unsigned long long i, samples, step = 9973; in calibrate() local
54 samples = 0; in calibrate()
64 samples += step; in calibrate()
70 return samples * seconds; in calibrate()
83 unsigned long long samples; in main() local
91 samples = strtoull(argv[1], NULL, 0); in main()
93 samples = calibrate(); in main()
95 printf("Benchmarking %llu syscalls...\n", samples); in main()
[all …]
/kernel/linux/linux-5.10/Documentation/sound/cards/
Daudigy-mixer.rst49 This control is used to attenuate samples for left and right front PCM FX-bus
51 samples for 5.1 playback. The result samples are forwarded to the front DAC PCM
56 This control is used to attenuate samples for left and right surround PCM FX-bus
58 samples for 5.1 playback. The result samples are forwarded to the surround DAC PCM
63 This control is used to attenuate samples for center PCM FX-bus accumulator.
75 This control is used to attenuate samples for left and right PCM FX-bus
76 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples for
77 stereo playback. The result samples are forwarded to the front DAC PCM slots
82 This control is used to attenuate samples for left and right PCM FX-bus
89 This control is used to attenuate samples for left and right MIDI FX-bus
[all …]
Dsb-live-mixer.rst64 This control is used to attenuate samples for left and right PCM FX-bus
65 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
66 The result samples are forwarded to the front DAC PCM slots of the AC97 codec.
70 This control is used to attenuate samples for left and right PCM FX-bus
71 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
72 The result samples are forwarded to the rear I2S DACs. These DACs operates
77 This control is used to attenuate samples for left and right PCM FX-bus
78 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
84 This control is used to attenuate samples for left and right PCM FX-bus
91 These controls are used to attenuate samples for left and right PCM FX-bus
[all …]
/kernel/linux/linux-4.19/Documentation/sound/cards/
Daudigy-mixer.rst49 This control is used to attenuate samples for left and right front PCM FX-bus
51 samples for 5.1 playback. The result samples are forwarded to the front DAC PCM
56 This control is used to attenuate samples for left and right surround PCM FX-bus
58 samples for 5.1 playback. The result samples are forwarded to the surround DAC PCM
63 This control is used to attenuate samples for center PCM FX-bus accumulator.
75 This control is used to attenuate samples for left and right PCM FX-bus
76 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples for
77 stereo playback. The result samples are forwarded to the front DAC PCM slots
82 This control is used to attenuate samples for left and right PCM FX-bus
89 This control is used to attenuate samples for left and right MIDI FX-bus
[all …]
Dsb-live-mixer.rst64 This control is used to attenuate samples for left and right PCM FX-bus
65 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
66 The result samples are forwarded to the front DAC PCM slots of the AC97 codec.
70 This control is used to attenuate samples for left and right PCM FX-bus
71 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
72 The result samples are forwarded to the rear I2S DACs. These DACs operates
77 This control is used to attenuate samples for left and right PCM FX-bus
78 accumulators. ALSA uses accumulators 0 and 1 for left and right PCM samples.
84 This control is used to attenuate samples for left and right PCM FX-bus
91 These controls are used to attenuate samples for left and right PCM FX-bus
[all …]
/kernel/linux/linux-4.19/drivers/media/pci/cx88/
Dcx88-dsp.c148 int samples = 5; in noise_magnitude() local
151 /* The last 192 samples are enough for noise detection */ in noise_magnitude()
156 freq_step = (freq_end - freq_start) / (samples - 1); in noise_magnitude()
158 for (i = 0; i < samples; i++) { in noise_magnitude()
163 return (u32)int_sqrt(sum / samples); in noise_magnitude()
249 s16 *samples; in read_rds_samples() local
260 "read RDS samples: current_address=%08x (offset=%08x), sample_count=%d, aud_intstat=%08x\n", in read_rds_samples()
264 samples = kmalloc_array(sample_count, sizeof(*samples), GFP_KERNEL); in read_rds_samples()
265 if (!samples) in read_rds_samples()
272 samples[i] = cx_read(srch->fifo_start + offset); in read_rds_samples()
[all …]
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-dsp.c139 int samples = 5; in noise_magnitude() local
142 /* The last 192 samples are enough for noise detection */ in noise_magnitude()
147 freq_step = (freq_end - freq_start) / (samples - 1); in noise_magnitude()
149 for (i = 0; i < samples; i++) { in noise_magnitude()
154 return (u32)int_sqrt(sum / samples); in noise_magnitude()
240 s16 *samples; in read_rds_samples() local
251 "read RDS samples: current_address=%08x (offset=%08x), sample_count=%d, aud_intstat=%08x\n", in read_rds_samples()
255 samples = kmalloc_array(sample_count, sizeof(*samples), GFP_KERNEL); in read_rds_samples()
256 if (!samples) in read_rds_samples()
263 samples[i] = cx_read(srch->fifo_start + offset); in read_rds_samples()
[all …]
/kernel/linux/linux-4.19/Documentation/livepatch/
Dcallbacks.txt127 the samples/livepatch/ and assumes that no livepatches are loaded at the
146 % insmod samples/livepatch/livepatch-callbacks-mod.ko
155 % insmod samples/livepatch/livepatch-callbacks-demo.ko
180 % rmmod samples/livepatch/livepatch-callbacks-demo.ko
181 % rmmod samples/livepatch/livepatch-callbacks-mod.ko
202 % insmod samples/livepatch/livepatch-callbacks-demo.ko
214 % insmod samples/livepatch/livepatch-callbacks-mod.ko
233 % rmmod samples/livepatch/livepatch-callbacks-demo.ko
234 % rmmod samples/livepatch/livepatch-callbacks-mod.ko
253 % insmod samples/livepatch/livepatch-callbacks-mod.ko
[all …]
/kernel/linux/linux-4.19/tools/testing/selftests/timers/
Dfreq-step.c28 #define SAMPLES 100 macro
119 static void regress(struct sample *samples, int n, double *intercept, in regress() argument
128 x = samples[i].time; in regress()
129 y = samples[i].offset; in regress()
143 x = samples[i].time; in regress()
144 y = samples[i].offset; in regress()
156 struct sample samples[SAMPLES]; in run_test() local
175 for (i = 0; i < SAMPLES; i++) { in run_test()
177 get_sample(&samples[i]); in run_test()
181 regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1); in run_test()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/timers/
Dfreq-step.c20 #define SAMPLES 100 macro
111 static void regress(struct sample *samples, int n, double *intercept, in regress() argument
120 x = samples[i].time; in regress()
121 y = samples[i].offset; in regress()
135 x = samples[i].time; in regress()
136 y = samples[i].offset; in regress()
148 struct sample samples[SAMPLES]; in run_test() local
167 for (i = 0; i < SAMPLES; i++) { in run_test()
169 get_sample(&samples[i]); in run_test()
173 regress(samples, SAMPLES, &intercept, &slope, &stddev1, &max1); in run_test()
[all …]
/kernel/linux/linux-5.10/samples/bpf/
DREADME.rst20 It can be needed to clean tools, samples or kernel before trying new arch or
24 make -C samples/bpf clean
46 For building the BPF samples, issue the below command from the kernel
49 make M=samples/bpf
78 make M=samples/bpf LLC=~/git/llvm/build/bin/llc CLANG=~/git/llvm/build/bin/clang
80 Cross compiling samples
85 build samples for the cross target::
97 Build samples::
99 make M=samples/bpf
101 Or build samples with SYSROOT if some header or library is absent in toolchain,
[all …]
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dperf-diff.txt23 If no parameters are passed the samples will be sorted by dso and symbol.
128 Analyze samples within given time window. It supports time
150 It also supports analyzing samples within a given time window
174 --cpu:: Only diff samples for the list of CPUs provided. Multiple CPUs can
176 CPUs are specified with -: 0-2. Default is to report samples on all
180 Only diff samples for given process ID (comma separated list).
183 Only diff samples for given thread ID (comma separated list).
187 aggregated by the branch records from samples.
192 file is iterated for samples. All other perf.data files specified on
196 All samples from non-baseline perf.data files, that do not match any
[all …]
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/touchscreen/
Dbrcm,iproc-touchscreen.txt39 - average_data: Number of data samples which are averaged before a final
43 1 = 2 samples
44 2 = 4 samples
45 3 = 8 samples
46 4 = 16 samples
47 5 = 32 samples
48 6 = 64 samples
49 7 = 128 samples
/kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/touchscreen/
Dbrcm,iproc-touchscreen.txt39 - average_data: Number of data samples which are averaged before a final
43 1 = 2 samples
44 2 = 4 samples
45 3 = 8 samples
46 4 = 16 samples
47 5 = 32 samples
48 6 = 64 samples
49 7 = 128 samples
/kernel/linux/linux-5.10/tools/perf/scripts/python/
Dexport-to-sqlite.py69 # difference is the 'transaction' column of the 'samples' table which is
206 do_query(query, 'CREATE TABLE samples ('
228 do_query(query, 'CREATE TABLE samples ('
446 ' FROM samples')
456 ' INNER JOIN samples ON samples.id = ptwrite.id')
467 ' INNER JOIN samples ON samples.id = cbr.id')
477 ' INNER JOIN samples ON samples.id = mwait.id')
488 ' INNER JOIN samples ON samples.id = pwre.id')
497 ' INNER JOIN samples ON samples.id = exstop.id')
513 ' INNER JOIN samples ON samples.id = pwrx.id')
[all …]
/kernel/linux/linux-5.10/samples/livepatch/
Dlivepatch-callbacks-demo.c21 * insmod samples/livepatch/livepatch-callbacks-mod.ko
26 * insmod samples/livepatch/livepatch-callbacks-demo.ko
47 * insmod samples/livepatch/livepatch-callbacks-demo.ko
53 * insmod samples/livepatch/livepatch-callbacks-mod.ko
54 …* insmod: ERROR: could not insert module samples/livepatch/livepatch-callbacks-mod.ko: No su…
66 * insmod samples/livepatch/livepatch-callbacks-busymod.ko sleep_secs=30
69 * insmod samples/livepatch/livepatch-callbacks-demo.ko
73 * insmod samples/livepatch/livepatch-callbacks-mod.ko
74 * rmmod samples/livepatch/livepatch-callbacks-mod.ko
78 * rmmod samples/livepatch/livepatch-callbacks-demo.ko
/kernel/linux/linux-5.10/arch/powerpc/oprofile/cell/
Dspu_profiler.c20 static u32 *samples; variable
96 samples[spu * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
98 samples[(spu + SPUS_PER_TB_ENTRY) * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
148 * the samples. In the very unlikely case that the processing in profile_spus()
150 * started to process the samples. Make sure only one kernel in profile_spus()
151 * thread is working on the samples array at a time. The in profile_spus()
168 samples + (k * TRACE_ARRAY_SIZE), in profile_spus()
208 /* Allocate arrays for collecting SPU PC samples */ in start_spu_profiling_cycles()
209 samples = kcalloc(SPUS_PER_NODE * TRACE_ARRAY_SIZE, sizeof(u32), in start_spu_profiling_cycles()
212 if (!samples) in start_spu_profiling_cycles()
[all …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dfsl-imx25-tcq.c156 * We measure X/Y with 'sample_count' number of samples and execute a in imx25_setup_queue_4wire()
238 unsigned int samples) in mx25_tcq_create_event_for_4wire() argument
246 for (i = 0; i < samples; i++) { in mx25_tcq_create_event_for_4wire()
264 dev_dbg(priv->dev, "Dropped samples because of invalid index %d\n", in mx25_tcq_create_event_for_4wire()
270 if (samples != 0) { in mx25_tcq_create_event_for_4wire()
277 /* valid samples, generate a report */ in mx25_tcq_create_event_for_4wire()
290 * if both samples are invalid, in mx25_tcq_create_event_for_4wire()
300 * happens. Take additional samples in this in mx25_tcq_create_event_for_4wire()
312 unsigned int samples; in mx25_tcq_irq_thread() local
317 * Check how many samples are available. We always have to read exactly in mx25_tcq_irq_thread()
[all …]
/kernel/linux/linux-4.19/drivers/input/touchscreen/
Dfsl-imx25-tcq.c156 * We measure X/Y with 'sample_count' number of samples and execute a in imx25_setup_queue_4wire()
238 unsigned int samples) in mx25_tcq_create_event_for_4wire() argument
246 for (i = 0; i < samples; i++) { in mx25_tcq_create_event_for_4wire()
264 dev_dbg(priv->dev, "Dropped samples because of invalid index %d\n", in mx25_tcq_create_event_for_4wire()
270 if (samples != 0) { in mx25_tcq_create_event_for_4wire()
277 /* valid samples, generate a report */ in mx25_tcq_create_event_for_4wire()
290 * if both samples are invalid, in mx25_tcq_create_event_for_4wire()
300 * happens. Take additional samples in this in mx25_tcq_create_event_for_4wire()
312 unsigned int samples; in mx25_tcq_irq_thread() local
317 * Check how many samples are available. We always have to read exactly in mx25_tcq_irq_thread()
[all …]
/kernel/linux/linux-4.19/arch/powerpc/oprofile/cell/
Dspu_profiler.c24 static u32 *samples; variable
100 samples[spu * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
102 samples[(spu + SPUS_PER_TB_ENTRY) * TRACE_ARRAY_SIZE + entry] in spu_pc_extract()
152 * the samples. In the very unlikely case that the processing in profile_spus()
154 * started to process the samples. Make sure only one kernel in profile_spus()
155 * thread is working on the samples array at a time. The in profile_spus()
172 samples + (k * TRACE_ARRAY_SIZE), in profile_spus()
212 /* Allocate arrays for collecting SPU PC samples */ in start_spu_profiling_cycles()
213 samples = kcalloc(SPUS_PER_NODE * TRACE_ARRAY_SIZE, sizeof(u32), in start_spu_profiling_cycles()
216 if (!samples) in start_spu_profiling_cycles()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dkyber.h18 unsigned int denominator, unsigned int samples),
20 TP_ARGS(q, domain, type, percentile, numerator, denominator, samples),
29 __field( unsigned int, samples )
39 __entry->samples = samples;
42 TP_printk("%d,%d %s %s p%u %u/%u samples=%u",
45 __entry->denominator, __entry->samples)
/kernel/linux/linux-5.10/tools/perf/tests/
Dhists_filter.c57 * each evsel will have 10 samples but the 4th sample in add_hist_entries()
152 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
158 TEST_ASSERT_VAL("Unmatched nr samples", in test__hists_filter()
177 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
185 TEST_ASSERT_VAL("Unmatched nr samples for thread filter", in test__hists_filter()
206 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
214 TEST_ASSERT_VAL("Unmatched nr samples for dso filter", in test__hists_filter()
227 * there's 3 samples that have 'main' symbol but the 4th in test__hists_filter()
241 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
249 TEST_ASSERT_VAL("Unmatched nr samples for symbol filter", in test__hists_filter()
[all …]
/kernel/linux/linux-4.19/tools/perf/tests/
Dhists_filter.c58 * each evsel will have 10 samples but the 4th sample in add_hist_entries()
153 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
159 TEST_ASSERT_VAL("Unmatched nr samples", in test__hists_filter()
178 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
186 TEST_ASSERT_VAL("Unmatched nr samples for thread filter", in test__hists_filter()
207 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
215 TEST_ASSERT_VAL("Unmatched nr samples for dso filter", in test__hists_filter()
228 * there's 3 samples that have 'main' symbol but the 4th in test__hists_filter()
242 TEST_ASSERT_VAL("Invalid nr samples", in test__hists_filter()
250 TEST_ASSERT_VAL("Unmatched nr samples for symbol filter", in test__hists_filter()
[all …]
/kernel/linux/linux-5.10/tools/perf/tests/shell/
Dtest_arm_coresight.sh2 # Check Arm CoreSight trace data recording and synthesized samples
5 # then verify if there have any branch samples and instruction samples
40 echo "Looking at perf.data file for dumping branch samples:"
42 # Below is an example of the branch samples dumping:
51 echo "Looking at perf.data file for reporting branch samples:"
53 # Below is an example of the branch samples reporting:
62 echo "Looking at perf.data file for instruction samples:"
64 # Below is an example of the instruction samples reporting:

12345678910>>...59