Home
last modified time | relevance | path

Searched full:median (Results 1 – 25 of 60) sorted by relevance

123

/openbmc/phosphor-dbus-monitor/src/
H A Dmedian.hpp17 * @brief Determine a median from properties and apply a condition.
19 * When invoked, a median class instance performs its condition
20 * test against a median value that has been determined from a set
23 * Once the median value is determined, a C++ relational operator
27 * Where no property values configured are found to determine a median from,
54 // if no property values are found to produce a median. in operator ()()
71 auto median = values.front(); in operator ()() local
72 // Get the determined median value in operator ()()
76 // for a worst case median value in operator ()()
77 median = *std::max_element(values.begin(), values.end()); in operator ()()
[all …]
H A Dmeson.build12 'templates/median.mako.cpp',
/openbmc/phosphor-fan-presence/control/
H A Dutility.cpp23 auto median = *oddIt; in getMedian() local
24 // Determine median for even number of values in getMedian()
27 // Use average of middle 2 values for median in getMedian()
30 median = (median + *evenIt) / 2; in getMedian()
33 return median; in getMedian()
H A Dutility.hpp17 * @brief A utility function to return a median value
18 * @details A median value is determined from a set of values where the middle
22 * @param[in] values - Set of values to determine the median from
24 * @return A median value
H A Dactions.hpp467 * floor speed is selected from the first map key entry that the median
479 * of valid sensor values based on their highest value or median.
514 auto median = validValues.front(); in set_floor_from_median_sensor_value() local
515 // Get the determined median value in set_floor_from_median_sensor_value()
520 median = *std::max_element(validValues.begin(), in set_floor_from_median_sensor_value()
525 median = utility::getMedian(validValues); in set_floor_from_median_sensor_value()
528 // Use determined median sensor value to find floor speed in set_floor_from_median_sensor_value()
530 [&median](const auto& entry) { in set_floor_from_median_sensor_value()
531 return median < entry.first; in set_floor_from_median_sensor_value()
/openbmc/phosphor-dbus-monitor/src/test/yaml/conditiongentest/
H A Dtest.yaml97 - name: test median condition 1
99 condition: median
106 - name: test median condition 2
108 condition: median
/openbmc/linux/Documentation/devicetree/bindings/input/touchscreen/
H A Dad7879.txt24 - adi,median-filter-size : 0: disabled
29 - adi,averaging : 0: 2 middle values (1 if median disabled)
50 adi,median-filter-size = /bits/ 8 <2>;
68 adi,median-filter-size = /bits/ 8 <2>;
/openbmc/qemu/scripts/
H A Danalyse-locks-simpletrace.py85 print (" Acquire Time: min:%d median:%d avg:%.2f max:%d" %
86 (acquire_times.min(), np.median(acquire_times),
91 print (" Held Time: min:%d median:%d avg:%.2f max:%d" %
92 (held_times.min(), np.median(held_times),
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/tslib/
H A Dtslib_1.23.bb25 PACKAGECONFIG ??= "debounce dejitter evthres iir linear median pthres skip lowpass invert variance …
31 PACKAGECONFIG[median] = "--enable-median,--disable-median"
/openbmc/openbmc/poky/bitbake/bin/
H A Dbitbake-hashclient124 median = statistics.median(times)
133 print(f"Median request time: {median:.3f}s")
256 median = statistics.median(times)
263 print(f"Median round trip time: {median:.3f}s")
/openbmc/linux/drivers/staging/media/atomisp/pci/isp/kernels/eed1_8/
H A Dia_css_eed1_8_param.h26 /* Enable median for false color correction
27 * 0: Do not use median
28 * 1: Use median
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Dallwinner,sun4i-a10-ts.yaml48 Select median and averaging filter. Sample used for median /
/openbmc/linux/tools/perf/scripts/python/
H A Dtask-analyzer.py208 db["runtime_info"]["median"] = len("Median")
305 median, min, max, max_at): argument
312 self.median = median
359 separator, db["runtime_info"]["median"] * fix_csv_align
372 column_titles += ("Runs", "Accumulated", "Mean", "Median", "Min", "Max")
426 # The size of the decimal after sum,mean and median varies, thus we cut
460 len_median = db["runtime_info"]["median"] * fix_csv_align
/openbmc/linux/fs/xfs/scrub/
H A Dxfarray.h120 * and use the rest to sample some records to estimate the median.
122 * heapsort function to place the median value in the middle.
/openbmc/linux/drivers/input/touchscreen/
H A Dad7879.c125 u8 median; member
181 * The preprocessing function consists of a median and an averaging in ad7879_report()
507 device_property_read_u8(dev, "adi,median-filter-size", &ts->median); in ad7879_parse_dt()
598 AD7879_MFS(ts->median) | in ad7879_probe()
/openbmc/linux/arch/mips/kernel/
H A Dcevt-r4k.c56 * Calculate the median of 5 75th percentiles of 5 samples of how long in calculate_min_delta()
97 /* Use 2 * median of 75th percentiles */ in calculate_min_delta()
104 pr_debug("%s: median 75th percentile=%#x, min_delta=%#x\n", in calculate_min_delta()
/openbmc/linux/include/uapi/linux/
H A Domap3isp.h277 /* Contains the information regarding the Horizontal Median Filter */
279 __u8 enable; /* Status of Horizontal Median Filter */
280 __u8 threshold; /* Threshold Value for Horizontal Median Filter */
475 * struct omap3isp_prev_hmed - Horizontal Median Filter
479 * @thres: Horizontal median filter threshold.
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fb/
H A Dramgt215.c103 u8 median[8], bins[4] = {0, 0, 0, 0}, bin = 0, qty = 0; in gt215_link_train_calc() local
125 median[i] = ((hi - lo) >> 1) + lo; in gt215_link_train_calc()
126 bins[(median[i] & 0xf0) >> 4]++; in gt215_link_train_calc()
127 median[i] += 0x30; in gt215_link_train_calc()
140 median[i] = max(median[i], (u8) (bin << 4)); in gt215_link_train_calc()
141 median[i] = min(median[i], (u8) ((bin << 4) | 0xf)); in gt215_link_train_calc()
143 train->r_100720 |= ((median[i] & 0x0f) << (i << 2)); in gt215_link_train_calc()
/openbmc/linux/include/linux/platform_data/
H A Dcros_ec_sensorhub.h77 * @median_m: median value of m_history
96 * Use to store information to batch data using median fileter information.
/openbmc/linux/drivers/platform/chrome/
H A Dcros_ec_sensorhub_ring.c150 * cros_ec_sensor_ring_median: Gets median of an array of numbers
194 * We use a median filter for the slope, then another median filter for the
199 * median_m = median(m[n-k:n])
201 * median_error = median(error[:k])
259 * median extraction. in cros_ec_sensor_ring_ts_filter_update()
/openbmc/linux/tools/testing/selftests/rcutorture/bin/
H A Dkvm-recheck-refscale.sh68 print "Median reader duration: " medianvalue;
/openbmc/phosphor-virtual-sensor/
H A Dcalculate.cpp22 /* Choose median value */ in calculateModifiedMedianValue()
/openbmc/linux/drivers/media/common/
H A Dcx2341x.c51 return "Median Filter Type"; in cx2341x_get_name()
53 return "Median Luma Filter Maximum"; in cx2341x_get_name()
55 return "Median Luma Filter Minimum"; in cx2341x_get_name()
57 return "Median Chroma Filter Maximum"; in cx2341x_get_name()
59 return "Median Chroma Filter Minimum"; in cx2341x_get_name()
1280 "%s: Median Filter: %s, Luma [%d, %d], Chroma [%d, %d]\n", in cx2341x_log_status()
1524 /* video median cluster */ in cx2341x_s_ctrl()
/openbmc/linux/drivers/media/pci/cx18/
H A Dcx23418.h154 IN[1] - type, 0 - temporal, 1 - spatial, 2 - median
156 median: 0 = disable, 1 = horizontal, 2 = vertical,
170 /* Description: This command set coring levels for median filter
/openbmc/entity-manager/configurations/
H A Dbellavista.json34 "Name": "Processor Core Median Temp",

123