Home
last modified time | relevance | path

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

12345678

/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dpixfmt-meta-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 …]
Dpixfmt-meta-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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 sort key"
[all …]
/kernel/linux/linux-6.6/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-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-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-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"
/kernel/linux/linux-5.10/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-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-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-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"
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]
/kernel/linux/linux-6.6/drivers/s390/block/
Ddasd_proc.c1 // SPDX-License-Identifier: GPL-2.0
42 device = dasd_device_from_devindex((unsigned long) v - 1); in dasd_devices_show()
45 if (device->block) in dasd_devices_show()
46 block = device->block; in dasd_devices_show()
52 seq_printf(m, "%s", dev_name(&device->cdev->dev)); in dasd_devices_show()
54 if (device->discipline != NULL) in dasd_devices_show()
55 seq_printf(m, "(%s)", device->discipline->name); in dasd_devices_show()
59 if (block->gdp) in dasd_devices_show()
60 seq_printf(m, " at (%3d:%6d)", in dasd_devices_show()
61 MAJOR(disk_devt(block->gdp)), in dasd_devices_show()
[all …]
/kernel/linux/linux-5.10/drivers/s390/block/
Ddasd_proc.c1 // SPDX-License-Identifier: GPL-2.0
42 device = dasd_device_from_devindex((unsigned long) v - 1); in dasd_devices_show()
45 if (device->block) in dasd_devices_show()
46 block = device->block; in dasd_devices_show()
52 seq_printf(m, "%s", dev_name(&device->cdev->dev)); in dasd_devices_show()
54 if (device->discipline != NULL) in dasd_devices_show()
55 seq_printf(m, "(%s)", device->discipline->name); in dasd_devices_show()
59 if (block->gdp) in dasd_devices_show()
60 seq_printf(m, " at (%3d:%6d)", in dasd_devices_show()
61 MAJOR(disk_devt(block->gdp)), in dasd_devices_show()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/tools/tracing/rtla/src/
Dosnoise_hist.c1 // SPDX-License-Identifier: GPL-2.0
67 * osnoise_free_histogram - free runtime data
74 /* one histogram for IRQ and one for thread, per CPU */ in osnoise_free_histogram()
75 for (cpu = 0; cpu < data->nr_cpus; cpu++) { in osnoise_free_histogram()
76 if (data->hist[cpu].samples) in osnoise_free_histogram()
77 free(data->hist[cpu].samples); in osnoise_free_histogram()
81 if (data->hist) in osnoise_free_histogram()
82 free(data->hist); in osnoise_free_histogram()
88 * osnoise_alloc_histogram - alloc runtime data
96 data = calloc(1, sizeof(*data)); in osnoise_alloc_histogram()
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-6.6/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 …]

12345678