Home
last modified time | relevance | path

Searched +full:1 +full:d +full:- +full:histogram (Results 1 – 25 of 103) sorted by relevance

12345

/linux-6.12.1/Documentation/userspace-api/media/v4l/
Dmetafmt-vsp1-hgt.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _v4l2-meta-fmt-vsp1-hgt:
9 Renesas R-Car VSP1 2-D Histogram Data
15 This format describes histogram data generated by the Renesas R-Car VSP1
16 2-D Histogram (HGT) engine.
18 The VSP1 HGT is a histogram computation engine that operates on HSV
21 weighted frequency histogram based on the H and S components.
23 The histogram is a matrix of 6 Hue and 32 Saturation buckets, 192 in
25 between 1 and 16 depending on the Hue areas configuration. Finding the
28 The Saturation position **n** (0 - 31) of the bucket in the matrix is
[all …]
Dmetafmt-vsp1-hgo.rst1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
3 .. _v4l2-meta-fmt-vsp1-hgo:
9 Renesas R-Car VSP1 1-D Histogram Data
15 This format describes histogram data generated by the Renesas R-Car VSP1 1-D
16 Histogram (HGO) engine.
18 The VSP1 HGO is a histogram computation engine that can operate on RGB, YCrCb
20 computes the minimum, maximum and sum of all pixels as well as per-channel
25 additionally output the histogram with 64 or 256 bins, resulting in four
28 - In *64 bins normal mode*, the HGO operates on the three channels independently
29 to compute three 64-bins histograms. RGB, YCbCr and HSV image formats are
[all …]
/linux-6.12.1/tools/perf/scripts/python/
Devent_analyzing_sample.py2 # SPDX-License-Identifier: GPL-2.0
27 '/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
115 # to show the histogram in real number, but use a log2 algorithm.
120 snum = '#' * (int)(math.log(num, 2) + 1)
128 print("There is %d records in gen_events table" % t[0])
135 …commq = con.execute("select comm, count(comm) from gen_events group by comm order by -count(comm)")
136 print("\n%16s %8s %16s\n%s" % ("comm", "number", "histogram", "="*42))
138 print("%16s %8d %s" % (row[0], row[1], num2sym(row[1])))
141 print("\n%32s %8s %16s\n%s" % ("symbol", "number", "histogram", "="*58))
142 …con.execute("select symbol, count(symbol) from gen_events group by symbol order by -count(symbol)")
[all …]
/linux-6.12.1/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-hist.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: event trigger - test histogram trigger
8 echo $1
12 echo "Test histogram basic trigger"
15 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
23 echo "Test histogram with compound keys"
26 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
32 echo "Test histogram with string key"
35 for i in `seq 1 10` ; do ( echo "forked" > /dev/null); done
42 echo "Test histogram with sym modifier"
[all …]
/linux-6.12.1/tools/testing/selftests/ftrace/test.d/trigger/inter-event/
Dtrigger-onmatch-action-hist.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: event trigger - test inter-event histogram trigger onmatch action
7 echo $1
14 if [ ! -d events/synthetic/wakeup_latency ]; then
18 echo "Test create histogram for synthetic event"
19 echo "Test histogram variables,simple expression support and onmatch action"
22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).wakeup_…
25 ping $LOCALHOST -c 5
26 if ! grep -q "ping" events/synthetic/wakeup_latency/hist; then
27 fail "Failed to create onmatch action inter-event histogram"
Dtrigger-trace-action-hist.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: event trigger - test inter-event histogram trigger trace action
7 echo $1
14 if [ ! -d events/synthetic/wakeup_latency ]; then
18 echo "Test create histogram for synthetic event using trace action"
19 echo "Test histogram variables,simple expression support and trace action"
22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).trace(w…
25 ping $LOCALHOST -c 5
27 if ! grep -q "ping" events/synthetic/wakeup_latency/hist; then
28 fail "Failed to create trace action inter-event histogram"
Dtrigger-synthetic-event-dynstring.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: event trigger - test inter-event histogram trigger trace action with dynamic string …
7 echo $1
14 if [ ! -d events/synthetic/ping_test_latency ]; then
18 echo "Test create histogram for synthetic event using trace action and dynamic strings"
19 echo "Test histogram dynamic string variables,simple expression support and trace action"
22 echo 'hist:key=pid:lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_process_exec).ping_test_late…
25 ping $LOCALHOST -c 5
27 if ! grep -q "ping" events/synthetic/ping_test_latency/hist; then
28 fail "Failed to create dynamic string trace action inter-event histogram"
Dtrigger-onmatch-onmax-action-hist.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: event trigger - test inter-event histogram trigger onmatch-onmax action
7 echo $1
14 if [ ! -d events/synthetic/wakeup_latency ]; then
18 echo "Test create histogram for synthetic event"
19 echo "Test histogram variables,simple expression support and onmatch-onmax action"
22 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_wakeup).wakeup_…
25 ping $LOCALHOST -c 5
26 if [ ! grep -q "ping" events/synthetic/wakeup_latency/hist -o ! grep -q "max:" events/sched/sched_s…
27 fail "Failed to create onmatch-onmax action inter-event histogram"
Dtrigger-inter-event-combined-hist.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: event trigger - test inter-event combined histogram trigger
7 echo $1
14 if [ ! -d events/synthetic/waking_latency ]; then
18 echo "Test combined histogram"
21 echo 'hist:keys=pid:waking_lat=common_timestamp.usecs-$ts0:onmatch(sched.sched_waking).waking_laten…
26 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts1:onmatch(sched.sched_wakeup).wakeup_…
32 ping $LOCALHOST -c 3
33 if ! grep -q "pid:" events/synthetic/waking_plus_wakeup_latency/hist; then
34 fail "Failed to create combined histogram"
Dtrigger-onmax-action-hist.tc2 # SPDX-License-Identifier: GPL-2.0
3 # description: event trigger - test inter-event histogram trigger onmax action
7 echo $1
14 if [ ! -d events/synthetic/wakeup_latency ]; then
21 echo 'hist:keys=next_pid:wakeup_lat=common_timestamp.usecs-$ts0:onmax($wakeup_lat).save(next_comm,p…
23 ping $LOCALHOST -c 3
24 if ! grep -q "max:" events/sched/sched_switch/hist; then
25 fail "Failed to create onmax action inter-event histogram"
/linux-6.12.1/Documentation/admin-guide/device-mapper/
Dstatistics.rst5 Device Mapper supports the collection of I/O statistics on user-defined
7 collected so there isn't any performance impact. Only bio-based DM
10 Each user-defined region specifies a starting sector, length and step.
11 Individual statistics will be collected for each step-sized area within
14 The I/O statistics counters for each step-sized area of a region are
16 Documentation/admin-guide/iostats.rst). But two extra counters (12 and 13) are
17 provided: total time spent reading and writing. When the histogram
19 histogram of latencies. All these counters may be accessed by sending
34 fallback to using vmalloc space. At most, 1/4 of the overall system
47 "-"
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/isp/kernels/s3a/s3a_1.0/
Dia_css_s3a.host.c1 // SPDX-License-Identifier: GPL-2.0
34 {-3344, -6104, -19143, 19143, 6104, 3344, 0},
35 {1027, 0, -9219, 16384, -9219, 1027, 0}
54 to->y_coef_r = in ia_css_ae_encode()
55 uDIGIT_FITTING(from->ae_y_coef_r, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_ae_encode()
56 to->y_coef_g = in ia_css_ae_encode()
57 uDIGIT_FITTING(from->ae_y_coef_g, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_ae_encode()
58 to->y_coef_b = in ia_css_ae_encode()
59 uDIGIT_FITTING(from->ae_y_coef_b, 16, SH_CSS_AE_YCOEF_SHIFT); in ia_css_ae_encode()
70 to->lg_high_raw = in ia_css_awb_encode()
[all …]
/linux-6.12.1/drivers/s390/block/
Ddasd_proc.c1 // SPDX-License-Identifier: GPL-2.0
37 device = dasd_device_from_devindex((unsigned long) v - 1); in dasd_devices_show()
40 if (device->block) in dasd_devices_show()
41 block = device->block; in dasd_devices_show()
47 seq_printf(m, "%s", dev_name(&device->cdev->dev)); in dasd_devices_show()
49 if (device->discipline != NULL) in dasd_devices_show()
50 seq_printf(m, "(%s)", device->discipline->name); in dasd_devices_show()
54 if (block->gdp) in dasd_devices_show()
55 seq_printf(m, " at (%3d:%6d)", in dasd_devices_show()
56 MAJOR(disk_devt(block->gdp)), in dasd_devices_show()
[all …]
/linux-6.12.1/Documentation/trace/
Dhistogram.rst7 1. Introduction
10 Histogram triggers are special event triggers that can be used to
15 2. Histogram Trigger Command
18 A histogram trigger command is an event trigger command that
33 numeric fields - on an event hit, the value(s) will be added to a
35 in place of an explicit value field - this is simply a count of
45 useful for providing more fine-grained summaries of event data.
51 its histogram data will be shared with other triggers of the same
69 numeric fields are displayed as base-10 integers. This can be
76 .sym-offset display an address as a symbol and offset
[all …]
/linux-6.12.1/tools/tracing/rtla/src/
Dosnoise_hist.c1 // SPDX-License-Identifier: GPL-2.0
68 * osnoise_free_histogram - free runtime data
75 /* one histogram for IRQ and one for thread, per CPU */ in osnoise_free_histogram()
76 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in osnoise_free_histogram()
77 if (data->hist[cpu].samples) in osnoise_free_histogram()
78 free(data->hist[cpu].samples); in osnoise_free_histogram()
82 if (data->hist) in osnoise_free_histogram()
83 free(data->hist); in osnoise_free_histogram()
89 * osnoise_alloc_histogram - alloc runtime data
97 data = calloc(1, sizeof(*data)); in osnoise_alloc_histogram()
[all …]
/linux-6.12.1/drivers/md/
Ddm-stats.c1 // SPDX-License-Identifier: GPL-2.0-only
12 #include <linux/device-mapper.h>
14 #include "dm-core.h"
15 #include "dm-stats.h"
22 * Using 64-bit values to avoid overflow (which is a
33 unsigned long long *histogram; member
62 #define STAT_PRECISE_TIMESTAMPS 1
75 * exhaust 1/4 of all memory or 1/2 of vmalloc space.
94 if (a > (VMALLOC_END - VMALLOC_START) / DM_STATS_VMALLOC_FACTOR) in __check_shared_memory()
141 shared_memory_amount -= alloc_size; in free_shared_memory()
[all …]
/linux-6.12.1/Documentation/tools/rtla/
Drtla-osnoise-hist.rst2 rtla-osnoise-hist
4 ------------------------------------------------------
5 Display a histogram of the osnoise tracer samples
6 ------------------------------------------------------
8 :Manual section: 1
19 occurrence in a histogram, displaying the results in a user-friendly way.
33 In the example below, *osnoise* tracer threads are set to run with real-time
34 priority *FIFO:1*, on CPUs *0-11*, for *900ms* at each period (*1s* by
37 histogram is set to group outputs in buckets of *10us* and *25* entries::
39 [root@f34 ~/]# rtla osnoise hist -P F:1 -c 0-11 -r 900000 -d 1M -b 10 -E 25
[all …]
Drtla-timerlat-hist.rst2 rtla-timerlat-hist
4 ------------------------------------------------
6 ------------------------------------------------
8 :Manual section: 1
19 The **rtla timerlat hist** displays a histogram of each tracer event
21 **osnoise:** tracepoints are enabled when using the **-T** option.
37 in the cpus *0-4*, *skipping zero* only lines. Moreover, **rtla timerlat
39 *SCHED_DEADLINE* priority, with a *100us* runtime every *1ms* period. The
40 *1ms* period is also passed to the *timerlat* tracer. Auto-analysis is disabled
43 [root@alien ~]# timerlat hist -d 10m -c 0-4 -P d:100us:1ms -p 1000 --no-aa
[all …]
/linux-6.12.1/tools/perf/util/
Dannotate-data.h1 /* SPDX-License-Identifier: GPL-2.0 */
9 #include "dwarf-regs.h"
42 * struct annotated_member - Type of member field
62 * struct type_hist_entry - Histogram entry per offset
72 * struct type_hist - Type histogram for each event
75 * @offset: Array of histogram entry
84 * struct annotated_data_type - Data type to profile
85 * @node: RB-tree node for dso->type_tree
87 * @nr_histogram: Number of histogram entries
104 * struct data_loc_info - Data location information
[all …]
/linux-6.12.1/arch/s390/include/uapi/asm/
Ddasd.h1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
11 * to userspace by the DASDAPIVER-ioctl
20 #define DASD_IOCTL_LETTER 'D'
67 #define DASD_FORMAT_LDL 1
123 * Read Subsystem Data - Performance Statistics
126 unsigned char invalid:1;
166 unsigned int dasd_io_secs[32]; /* histogram of request's sizes */
167 unsigned int dasd_io_times[32]; /* histogram of requests's times */
168 unsigned int dasd_io_timps[32]; /* histogram of requests's times per sector */
169 unsigned int dasd_io_time1[32]; /* histogram of time from build to start */
[all …]
/linux-6.12.1/tools/perf/Documentation/
Dperf-ftrace.txt1 perf-ftrace(1)
5 ----
6 perf-ftrace - simple wrapper for kernel's ftrace functionality
10 --------
15 -----------
24 (optionally with BPF) and display it as a histogram.
32 --------------
34 -p::
35 --pid=::
38 --tid=::
[all …]
/linux-6.12.1/tools/testing/selftests/drivers/net/hw/
Dethtool_rmon.sh2 # SPDX-License-Identifier: GPL-2.0
16 declare -A netif_mtu
20 local iface=$1; shift
21 local len=$1; shift
22 local current=$(ip -j link show dev $iface | jq -r '.[0].mtu')
23 local required=$((len - ETH_HLEN - ETH_FCS_LEN))
25 if [ $current -lt $required ]; then
26 ip link set dev $iface mtu $required || return 1
32 local iface=$1; shift
33 local neigh=$1; shift
[all …]
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/
Ddebugfs.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2011-2020 NXP
34 * It prints the following driver related information -
35 * - Driver name
36 * - Driver version
37 * - Driver extended version
38 * - Interface name
39 * - BSS mode
40 * - Media state (connected or disconnected)
41 * - MAC address
[all …]
/linux-6.12.1/drivers/net/wireless/ath/ath11k/
Ddebugfs_htt_stats.h1 /* SPDX-License-Identifier: BSD-3-Clause-Clear */
3 * Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
4 * Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
16 HTT_STATS_TX_PDEV_UNDERRUN_TAG = 1,
129 HTT_STATS_TX_PDEV_DATA_UNDERRUN_BETWEEN_MPDU = 1,
249 * Tried_mpdu_cnt_hist is the histogram of MPDUs tries per HWQ.
253 * The histogram bins are 0-29, 30-59, 60-89 and so on. The are
254 * 10 bins in this histogram. They are defined in FW using the
465 /* element 0,1, ...7 -> NSS 1,2, ...8 */
467 /* element 0: 20 MHz, 1: 40 MHz, 2: 80 MHz, 3: 160 and 80+80 MHz */
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/display/
Drenesas,cmm.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Renesas R-Car Color Management Module (CMM)
10 - Laurent Pinchart <laurent.pinchart@ideasonboard.com>
11 - Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
12 - Jacopo Mondi <jacopo+renesas@jmondi.org>
15 Renesas R-Car color management module connected to R-Car DU video channels.
16 It provides image enhancement functions such as 1-D look-up tables (LUT),
17 3-D look-up tables (CLU), 1D-histogram generation (HGO), and color
[all …]

12345