| /OK3568_Linux_fs/kernel/drivers/cpufreq/ |
| H A D | intel_pstate.c | 1 // SPDX-License-Identifier: GPL-2.0-only 34 #include <asm/intel-family.h> 51 #define ONE_EIGHTH_FP ((int64_t)1 << (FRAC_BITS - 3)) 73 mask = (1 << FRAC_BITS) - 1; in ceiling_fp() 100 * struct sample - Store performance sample 102 * performance during last sample period 107 * read from APERF MSR between last and current sample 109 * read from MPERF MSR between last and current sample 110 * @tsc: Difference of time stamp counter between last and 111 * current sample [all …]
|
| /OK3568_Linux_fs/yocto/poky/scripts/pybootchartgui/pybootchartgui/ |
| H A D | parsing.py | 21 import time 38 self.min = None 60 self.min = min(self.start.keys()) 65 # time. Provide them where the original drawing code expects 71 self.duration = self.end_time - self.start_time 72 self.proc_tree = BitbakeProcessTree(min(self.start.keys()), 159 # re-parent any stray orphans if we can 180 k = min(k, len(util)-1) 185 avgload = sum(u[1] for u in util[j:k+1]) / (k-j+1) 208 … cpu_util = [(sample.time, sample.user + sample.sys + sample.io) for sample in self.cpu_stats] [all …]
|
| H A D | draw.py | 28 # should we render a cumulative CPU time chart 48 # 5-second tick line color. 138 # If we have more volumns, colors get re-used. 182 draw_fill_rect(ctx, fill_color, (x, y - s, s, s)) 183 draw_rect(ctx, PROC_BORDER_COLOR, (x, y - s, s, s)) 187 draw_fill_rect(ctx, fill_color, (x, y - s/2, s + 1, 3)) 188 ctx.arc(x + (s + 1)/2.0, y - (s - 3)/2.0, 2.5, 0, 2.0 * math.pi) 194 label_x = x + w / 2 - label_w / 2 198 label_x = x - label_w - 5 211 x = rect[0] + i - label_w/2 [all …]
|
| H A D | samples.py | 18 def __init__(self, time): argument 19 self.time = time 25 def __init__(self, time, user, sys, io = 0.0, swap = 0.0): argument 26 self.time = time 37 return str(self.time) + "\t" + str(self.user) + "\t" + \ 43 def __init__(self, time): argument 44 self.time = time 63 self.time = mem_sample.time 65 self.buffers = mem_sample.records['MemTotal'] - mem_sample.records['MemFree'] 66 …self.used = mem_sample.records['MemTotal'] - mem_sample.records['MemFree'] - mem_sample.records['B… [all …]
|
| H A D | process_tree.py | 24 * idle processes that keep running during the last process sample 26 * short-lived processes (i.e. processes that only live for the 32 concurrently -- thread heuristic) are merged together, 37 LOGGER_PROC = 'bootchart-colle' 61 self.duration = self.end_time - self.start_time 81 self.duration = self.end_time - self.start_time 108 """Returns the start time of the process subtree. This is the start 109 time of the earliest process. 114 …return min( [min(proc.start_time, self.get_start_time(proc.child_list)) for proc in process_subtre… 117 """Returns the end time of the process subtree. This is the end time [all …]
|
| /OK3568_Linux_fs/kernel/kernel/sched/ |
| H A D | psi.c | 21 * The time in which a task can execute on a CPU is our baseline for 22 * productivity. Pressure expresses the amount of time in which this 33 * In the FULL state of a given resource, all non-idle tasks are 42 * The percentage of wallclock time spent in those compound stall 47 * %SOME = time(SOME) / period 48 * %FULL = time(FULL) / period 54 * unrealized due to resource contention *also* scales with non-idle 63 * threads will be contended at any given time, or about 0.4%. 66 * given time *one* of the tasks is delayed due to a lack of memory. 73 * we have to base our calculation on the number of non-idle tasks in [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/iio/adc/ |
| H A D | at91-sama5d2_adc.txt | 4 - compatible: Should be "atmel,sama5d2-adc" or "microchip,sam9x60-adc". 5 - reg: Should contain ADC registers location and length. 6 - interrupts: Should contain the IRQ line for the ADC. 7 - clocks: phandle to device clock. 8 - clock-names: Must be "adc_clk". 9 - vref-supply: Supply used as reference for conversions. 10 - vddana-supply: Supply for the adc device. 11 - atmel,min-sample-rate-hz: Minimum sampling rate, it depends on SoC. 12 - atmel,max-sample-rate-hz: Maximum sampling rate, it depends on SoC. 13 - atmel,startup-time-ms: Startup time expressed in ms, it depends on SoC. [all …]
|
| H A D | st,stm32-adc.yaml | 1 # 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@st.com> 27 - st,stm32f4-adc-core 28 - st,stm32h7-adc-core [all …]
|
| H A D | fsl,vf610-adc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/adc/fsl,vf610-adc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Fugang Duan <fugang.duan@nxp.com> 17 const: fsl,vf610-adc 29 clock-names: 32 vref-supply: 35 fsl,adck-max-frequency: 36 $ref: /schemas/types.yaml#/definitions/uint32-array [all …]
|
| /OK3568_Linux_fs/kernel/net/ipv4/ |
| H A D | tcp_rate.c | 1 // 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) 23 * bw = min(send_rate, ack_rate) 28 * deliberately avoids using the inter-packet spacing approach because that 31 * TCP flows can often be application-limited in request/response workloads. [all …]
|
| H A D | tcp_vegas.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * IEEE Journal on Selected Areas in Communication, 13(8):1465--1480, 17 * using fine-grained timers, NewReno, and FACK. 19 * only every-other RTT during slow start, we increase during 27 * minimum RTT sample observed during the last RTT to calculate 29 * o When the sender re-starts from idle, it waits until it has 55 /* There are several situations when we must "re-start" Vegas: 65 * stale info -- both the saved cwnd and congestion feedback are 76 /* Begin taking Vegas samples next time we send something. */ in vegas_enable() 77 vegas->doing_vegas_now = 1; in vegas_enable() [all …]
|
| H A D | tcp_lp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TCP Low Priority (TCP-LP) 11 * the original TCP-LP implementation: 16 * o Handling calculation of One-Way-Delay (OWD) within rtt_sample, since 20 * o OWD is handled in relative format, where local time stamp will in 26 * http://www.ece.rice.edu/~akuzma/Doc/akuzma/TCP-LP.pdf 28 * http://www-ece.rice.edu/networks/TCP-LP/ 34 * http://tcp-lp-mod.sourceforge.net/ 50 * TCP-LP's state flags. 62 * @flag: TCP-LP state flag [all …]
|
| H A D | tcp_bbr.c | 21 * +---> STARTUP ----+ 24 * | DRAIN ----+ 27 * +---> PROBE_BW ----+ 30 * | +----+ | 32 * +---- PROBE_RTT <--+ 37 * A long-lived BBR flow spends the vast majority of its time remaining 41 * sample that matches or decreases its min_rtt estimate for 10 seconds, then 42 * it briefly enters PROBE_RTT to cut inflight to a minimum value to re-probe 43 * the path's two-way propagation delay (min_rtt). When exiting PROBE_RTT, if 48 * "BBR: Congestion-Based Congestion Control", [all …]
|
| H A D | tcp_westwood.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * TCP Westwood+: end-to-end bandwidth estimation for TCP 10 * - Mascolo S, Casetti, M. Gerla et al. 13 * - A. Grieco, s. Mascolo 17 * - A. Dell'Aera, L. Grieco, S. Mascolo. 18 * "Linux 2.4 Implementation of Westwood+ TCP with Rate-Halving : 21 * Westwood+ employs end-to-end bandwidth measurement to set cwnd and 43 u8 reset_rtt_min; /* Reset RTT min to next RTT sample*/ 55 * information about RTTmin at this time so we simply set it to 65 w->bk = 0; in tcp_westwood_init() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/ |
| H A D | builtin-kvm.c | 1 // SPDX-License-Identifier: GPL-2.0 5 #include "util/build-id.h" 16 #include <subcmd/parse-options.h> 17 #include "util/trace-event.h" 21 #include "util/synthetic-events.h" 24 #include "util/ordered-events.h" 25 #include "util/kvm-stat.h" 32 #include <sys/time.h> 68 struct perf_sample *sample, in exit_event_get_key() argument 71 key->info = 0; in exit_event_get_key() [all …]
|
| H A D | builtin-timechart.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * builtin-timechart.c - make an svg timechart of system activity 30 #include <subcmd/parse-options.h> 31 #include "util/parse-events.h" 45 #define PWR_EVENT_EXIT -1 186 u64 time; member 201 struct per_pid *cursor = tchart->all_data; in find_create_pid() 204 if (cursor->pid == pid) in find_create_pid() 206 cursor = cursor->next; in find_create_pid() 210 cursor->pid = pid; in find_create_pid() [all …]
|
| /OK3568_Linux_fs/kernel/include/sound/sof/ |
| H A D | dai-intel.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 55 /* SSP Configuration Request - SOF_IPC_DAI_SSP_CONFIG */ 82 uint32_t bclk_delay; /* guaranteed time (ms) for which BCLK 87 /* HDA Configuration Request - SOF_IPC_DAI_HDA_CONFIG */ 95 /* ALH Configuration Request - SOF_IPC_DAI_ALH_CONFIG */ 106 /* DMIC Configuration Request - SOF_IPC_DAI_DMIC_CONFIG */ 121 * that delays the sampling time of data by half cycles of DMIC source clock 149 * range 1.0 - 3.2 MHz is usually supported microphones. Some microphones are 150 * multi-mode capable and there may be denied mic clock frequencies between 154 * The duty cycle could be set to 48-52% if not known. Generally these [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/display/panel/ |
| H A D | panel-timing.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-timing.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Thierry Reding <thierry.reding@gmail.com> 11 - Sam Ravnborg <sam@ravnborg.org> 20 +----------+-------------------------------------+----------+-------+ 24 +----------#######################################----------+-------+ 29 |<-------->#<-------+--------------------------->#<-------->|<----->| 34 +----------#######################################----------+-------+ [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | stm32mp15xx-dhcom-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) 3 * Copyright (C) 2019-2020 Marek Vasut <marex@denx.de> 6 #include "stm32mp15-pinctrl.dtsi" 7 #include "stm32mp15xxaa-pinctrl.dtsi" 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/mfd/st,stpmic1.h> 21 reserved-memory { 22 #address-cells = <1>; 23 #size-cells = <1>; 27 compatible = "shared-dma-pool"; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/sound/cards/ |
| H A D | hdspm.rst | 2 Software Interface ALSA-DSP MADI Driver 5 (translated from German, so no good English ;-), 7 2004 - winfried ritsch 11 the Controls and startup-options are ALSA-Standard and only the 19 ------------------ 21 * number of channels -- depends on transmission mode 29 * Single Speed -- 1..64 channels 37 * Double Speed -- 1..32 channels 40 Note: Choosing the 56-channel mode for 41 transmission/receive-mode , only 28 are transmitted/received [all …]
|
| /OK3568_Linux_fs/yocto/poky/meta/lib/ |
| H A D | buildstats.py | 2 # SPDX-License-Identifier: GPL-2.0-only 6 # like open log files and the time of the last sampling. 8 import time 26 # environments like Linux-VServer. Silently skip collecting 37 # Last time that we sampled /proc data resp. recorded disk monitoring data. 40 # Minimum number of seconds between recording a sample. This 57 def _reduce_meminfo(self, time, data): argument 68 return (time, 78 def _reduce_diskstats(self, time, data): argument 90 # We need to compute information about the time interval [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/ |
| H A D | thread-stack.c | 1 // 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' 115 return !(thread->tid || thread->pid_); in thread_stack__per_cpu() 123 new_sz = ts->sz + STACK_GROWTH; in thread_stack__grow() [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/cpufreq/ |
| H A D | cpufreq-rockchip.txt | 6 with 'prop' information which is used to determine opp-microvolt-<name> 8 on operating-points-v2, but the driver can also create the "cpufreq-dt" 9 platform_device to compatibility with operating-points. 14 In 'operating-points-v2' table: 15 - rockchip,leakage-voltage-sel: The property is an array of 3-tuples items, and 17 <min-leakage max-leakage volt-selector>. 18 min-leakage: minimum leakage in mA, ranges from 1 to 254. 19 max-leakage: maximum leakage in mA, ranges from 1 to 254. 20 voltage-selector: a sequence number which is used to math 21 opp-microvolt-L<number> roperty in OPP node. [all …]
|
| /OK3568_Linux_fs/kernel/tools/include/uapi/sound/ |
| H A D | asound.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 3 * Advanced Linux Sound Architecture - ALSA - Driver 4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>, 5 * Abramo Bagnara <abramo@alsa-project.org> 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 37 #include <time.h> 68 * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort * 74 unsigned char db2_sf_ss; /* sample frequency and size */ 77 unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */ 82 * Section for driver hardware dependent interface - /dev/snd/hw? * [all …]
|
| /OK3568_Linux_fs/kernel/include/uapi/sound/ |
| H A D | asound.h | 1 /* SPDX-License-Identifier: GPL-2.0+ WITH Linux-syscall-note */ 3 * Advanced Linux Sound Architecture - ALSA - Driver 4 * Copyright (c) 1994-2003 by Jaroslav Kysela <perex@perex.cz>, 5 * Abramo Bagnara <abramo@alsa-project.org> 20 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 37 #include <time.h> 68 * CEA-861 Audio InfoFrame. Used in HDMI and DisplayPort * 74 unsigned char db2_sf_ss; /* sample frequency and size */ 77 unsigned char db5_dminh_lsv; /* downmix inhibit & level-shit values */ 82 * Section for driver hardware dependent interface - /dev/snd/hw? * [all …]
|