| /kernel/linux/linux-6.6/tools/tracing/rtla/src/ |
| D | osnoise_hist.c | 1 // SPDX-License-Identifier: GPL-2.0 31 int duration; member 67 * osnoise_free_histogram - free runtime data 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 100 data->entries = entries; in osnoise_alloc_histogram() [all …]
|
| D | timerlat_aa.c | 1 // SPDX-License-Identifier: GPL-2.0 25 * Per-cpu data statistics and data. 66 * If now - timestamp is <= latency, it might have influenced 137 * timerlat_aa_get_data - Get the per-cpu data from the timerlat context 142 return &taa_ctx->taa_data[cpu]; in timerlat_aa_get_data() 146 * timerlat_aa_irq_latency - Handles timerlat IRQ event 156 taa_data->curr_state = TIMERLAT_WAITING_THREAD; in timerlat_aa_irq_latency() 157 taa_data->tlat_irq_timstamp = record->ts; in timerlat_aa_irq_latency() 162 taa_data->thread_nmi_sum = 0; in timerlat_aa_irq_latency() 163 taa_data->thread_irq_sum = 0; in timerlat_aa_irq_latency() [all …]
|
| D | osnoise_top.c | 1 // SPDX-License-Identifier: GPL-2.0 38 int duration; member 70 * osnoise_free_top - free runtime data 75 free(data->cpu_data); in osnoise_free_top() 80 * osnoise_alloc_histogram - alloc runtime data 90 data->nr_cpus = nr_cpus; in osnoise_alloc_top() 93 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in osnoise_alloc_top() 94 if (!data->cpu_data) in osnoise_alloc_top() 105 * osnoise_top_handler - this is the handler for osnoise tracer events 116 int cpu = record->cpu; in osnoise_top_handler() [all …]
|
| D | timerlat_top.c | 1 // SPDX-License-Identifier: GPL-2.0 36 int duration; member 78 * timerlat_free_top - free runtime data 83 free(data->cpu_data); in timerlat_free_top() 88 * timerlat_alloc_histogram - alloc runtime data 99 data->nr_cpus = nr_cpus; in timerlat_alloc_top() 102 data->cpu_data = calloc(1, sizeof(*data->cpu_data) * nr_cpus); in timerlat_alloc_top() 103 if (!data->cpu_data) in timerlat_alloc_top() 108 data->cpu_data[cpu].min_irq = ~0; in timerlat_alloc_top() 109 data->cpu_data[cpu].min_thread = ~0; in timerlat_alloc_top() [all …]
|
| /kernel/linux/linux-6.6/Documentation/trace/ |
| D | osnoise-tracer.rst | 5 In the context of high-performance computing (HPC), the Operating System 9 system. Moreover, hardware-related jobs can also cause noise, for example, 32 source of interferences, increasing a per-cpu interference counter. The 38 hardware-related noise. In this way, osnoise can account for any 44 ----- 59 # _-----=> irqs-off 60 # / _----=> need-resched 61 # | / _---=> hardirq/softirq 62 # || / _--=> preempt-depth MAX 64 … |||| RUNTIME NOISE % OF CPU NOISE +-----------------------------+ [all …]
|
| /kernel/linux/linux-6.6/drivers/media/rc/ |
| D | ir-sharp-decoder.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* ir-sharp-decoder.c - handle Sharp IR Pulse/Space protocol 4 * Copyright (C) 2013-2014 Imagination Technologies Ltd. 12 #include "rc-core-priv.h" 15 #define SHARP_UNIT 40 /* us */ 16 #define SHARP_BIT_PULSE (8 * SHARP_UNIT) /* 320us */ 17 #define SHARP_BIT_0_PERIOD (25 * SHARP_UNIT) /* 1ms (680us space) */ 18 #define SHARP_BIT_1_PERIOD (50 * SHARP_UNIT) /* 2ms (1680us space) */ 19 #define SHARP_BIT_0_SPACE (17 * SHARP_UNIT) /* 680us space */ 20 #define SHARP_BIT_1_SPACE (42 * SHARP_UNIT) /* 1680us space */ [all …]
|
| D | ir-xmp-decoder.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* ir-xmp-decoder.c - handle XMP IR Pulse/Space protocol 6 * - Based on info from http://www.hifi-remote.com 7 * - Ignore Toggle=9 frames 8 * - Ignore XMP-1 XMP-2 difference, always store 16 bit OBC 13 #include "rc-core-priv.h" 15 #define XMP_UNIT 136 /* us */ 16 #define XMP_LEADER 210 /* us */ 17 #define XMP_NIBBLE_PREFIX 760 /* us */ 18 #define XMP_HALFFRAME_SPACE 13800 /* us */ [all …]
|
| /kernel/linux/linux-5.10/drivers/media/rc/ |
| D | ir-sharp-decoder.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* ir-sharp-decoder.c - handle Sharp IR Pulse/Space protocol 4 * Copyright (C) 2013-2014 Imagination Technologies Ltd. 12 #include "rc-core-priv.h" 15 #define SHARP_UNIT 40 /* us */ 16 #define SHARP_BIT_PULSE (8 * SHARP_UNIT) /* 320us */ 17 #define SHARP_BIT_0_PERIOD (25 * SHARP_UNIT) /* 1ms (680us space) */ 18 #define SHARP_BIT_1_PERIOD (50 * SHARP_UNIT) /* 2ms (1680us space) */ 19 #define SHARP_BIT_0_SPACE (17 * SHARP_UNIT) /* 680us space */ 20 #define SHARP_BIT_1_SPACE (42 * SHARP_UNIT) /* 1680us space */ [all …]
|
| D | ir-xmp-decoder.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* ir-xmp-decoder.c - handle XMP IR Pulse/Space protocol 6 * - Based on info from http://www.hifi-remote.com 7 * - Ignore Toggle=9 frames 8 * - Ignore XMP-1 XMP-2 difference, always store 16 bit OBC 13 #include "rc-core-priv.h" 15 #define XMP_UNIT 136 /* us */ 16 #define XMP_LEADER 210 /* us */ 17 #define XMP_NIBBLE_PREFIX 760 /* us */ 18 #define XMP_HALFFRAME_SPACE 13800 /* us */ [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/rcutorture/bin/ |
| D | kvm-recheck-rcuscale-ftrace.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 6 # printed. Intended to be invoked from kvm-recheck-rcuscale.sh after 9 # Usage: kvm-recheck-rcuscale-ftrace.sh resdir 18 if test "`grep -c 'rcu_exp_grace_period.*start' < $i/console.log`" -lt 100 23 sed -e 's/^\[[^]]*]//' < $i/console.log | 24 grep 'us : rcu_exp_grace_period' | 25 sed -e 's/us : / : /' | 26 tr -d '\015' | 39 curgpdur = $3 - starttime; 44 print "Long GP " starttime "us to " $3 "us (" curgpdur "us)"; [all …]
|
| /kernel/linux/linux-6.6/tools/testing/selftests/rcutorture/bin/ |
| D | kvm-recheck-rcuscale-ftrace.sh | 2 # SPDX-License-Identifier: GPL-2.0+ 6 # printed. Intended to be invoked from kvm-recheck-rcuscale.sh after 9 # Usage: kvm-recheck-rcuscale-ftrace.sh resdir 18 if test "`grep -c 'rcu_exp_grace_period.*start' < $i/console.log`" -lt 100 23 sed -e 's/^\[[^]]*]//' < $i/console.log | 24 grep 'us : rcu_exp_grace_period' | 25 sed -e 's/us : / : /' | 26 tr -d '\015' | 39 curgpdur = $3 - starttime; 44 print "Long GP " starttime "us to " $3 "us (" curgpdur "us)"; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/thermal/ |
| D | thermal-idle.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-idle.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Daniel Lezcano <daniel.lezcano@linaro.org> 22 const: thermal-idle 24 A thermal-idle node describes the idle cooling device properties to 27 '#cooling-cells': 31 the cooling-maps reference. The first cell is the minimum cooling state 34 duration-us: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/thermal/ |
| D | thermal-idle.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/thermal/thermal-idle.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Daniel Lezcano <daniel.lezcano@linaro.org> 22 const: thermal-idle 24 A thermal-idle node describes the idle cooling device properties to 27 '#cooling-cells': 31 the cooling-maps reference. The first cell is the minimum cooling state 34 duration-us: [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/power/ |
| D | domain-idle-state.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/domain-idle-state.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 18 const: domain-idle-states 21 "^(cpu|cluster|domain)-": 28 const: domain-idle-state 30 entry-latency-us: 33 state. Note that, the exit-latency-us duration may be guaranteed only [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/ |
| D | domain-idle-state.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/power/domain-idle-state.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Ulf Hansson <ulf.hansson@linaro.org> 18 const: domain-idle-states 21 "^(cpu|cluster|domain)-": 29 const: domain-idle-state 31 entry-latency-us: 34 state. Note that, the exit-latency-us duration may be guaranteed only [all …]
|
| /kernel/linux/linux-6.6/net/mac80211/ |
| D | airtime.c | 1 // SPDX-License-Identifier: ISC 4 * Copyright (C) 2021-2022 Intel Corporation 16 /* Number of kilo-symbols (symbols * 1024) for a packet with (bps) bits per 17 * symbol. We use k-symbols to avoid rounding in the _TIME macros below. 26 ((ksyms) * 4 * 18) / 20 : /* 3.6 us per sym */ \ 27 ((ksyms) * 4) /* 4.0 us per sym */ \ 30 /* Transmit duration for the raw data part of an average sized packet */ 42 /* Transmission time (1024 usec) for a packet containing (ksyms) * k-symbols */ 45 ((ksyms) * 16 * 17) / 20 : /* 13.6 us per sym */ \ 47 ((ksyms) * 16 * 18) / 20 : /* 14.4 us per sym */ \ [all …]
|
| /kernel/linux/linux-5.10/net/mac80211/ |
| D | airtime.c | 1 // SPDX-License-Identifier: ISC 15 /* Number of kilo-symbols (symbols * 1024) for a packet with (bps) bits per 16 * symbol. We use k-symbols to avoid rounding in the _TIME macros below. 25 ((ksyms) * 4 * 18) / 20 : /* 3.6 us per sym */ \ 26 ((ksyms) * 4) /* 4.0 us per sym */ \ 29 /* Transmit duration for the raw data part of an average sized packet */ 41 /* Transmission time (1024 usec) for a packet containing (ksyms) * k-symbols */ 44 ((ksyms) * 16 * 17) / 20 : /* 13.6 us per sym */ \ 46 ((ksyms) * 16 * 18) / 20 : /* 14.4 us per sym */ \ 47 ((ksyms) * 16) /* 16.0 us per sym */ \ [all …]
|
| /kernel/linux/linux-5.10/drivers/net/fddi/skfp/ |
| D | hwt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 * 28-Jun-1994 sw Edit v1.6. 21 * MCA: Added support for the SK-NET FDDI-FM2 adapter. The 37 /* 28-Jun-1994 sw - Note: hwt_restart() is also used in module 'drvfbi.c'. */ 44 * Start hardware timer (clock ticks are 16us). 50 * smc - A pointer to the SMT Context structure. 52 * time - The time in units of 16us to load the timer with. 66 smc->hw.t_start = time ; in hwt_start() 67 smc->hw.t_stop = 0L ; in hwt_start() 71 * if time < 16 us in hwt_start() [all …]
|
| /kernel/linux/linux-6.6/drivers/net/fddi/skfp/ |
| D | hwt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 * 28-Jun-1994 sw Edit v1.6. 21 * MCA: Added support for the SK-NET FDDI-FM2 adapter. The 33 /* 28-Jun-1994 sw - Note: hwt_restart() is also used in module 'drvfbi.c'. */ 40 * Start hardware timer (clock ticks are 16us). 46 * smc - A pointer to the SMT Context structure. 48 * time - The time in units of 16us to load the timer with. 62 smc->hw.t_start = time ; in hwt_start() 63 smc->hw.t_stop = 0L ; in hwt_start() 67 * if time < 16 us in hwt_start() [all …]
|
| /kernel/linux/linux-6.6/tools/power/cpupower/utils/ |
| D | cpufreq-info.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> 39 value[LINE_LEN - 1] = '\0'; in count_cpus() 40 if (strlen(value) < (LINE_LEN - 2)) in count_cpus() 64 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output() 75 min_pctg = (policy->min * 100) / max; in proc_cpufreq_output() 76 max_pctg = (policy->max * 100) / max; in proc_cpufreq_output() 78 printf("CPU%3d %9lu kHz (%3d %%) - %9lu kHz (%3d %%) - %s\n", in proc_cpufreq_output() 79 cpu , policy->min, max ? min_pctg : 0, policy->max, in proc_cpufreq_output() 80 max ? max_pctg : 0, policy->governor); in proc_cpufreq_output() [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/vt6655/ |
| D | rxtx.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 21 #define DEFAULT_MSDU_LIFETIME_RES_64us 8000 /* 64us */ 22 #define DEFAULT_MGN_LIFETIME_RES_64us 125 /* 64us */ 25 /*--------------------- Export Definitions -------------------------*/ 27 /*--------------------- Export Variables --------------------------*/ 29 /*--------------------- Export Functions --------------------------*/ 93 __le16 duration; member 99 __le16 duration; member 132 __le16 duration; member 139 __le16 duration; member [all …]
|
| /kernel/linux/linux-5.10/tools/power/cpupower/utils/ |
| D | cpufreq-info.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * (C) 2004-2009 Dominik Brodowski <linux@dominikbrodowski.de> 39 value[LINE_LEN - 1] = '\0'; in count_cpus() 40 if (strlen(value) < (LINE_LEN - 2)) in count_cpus() 64 printf(_(" minimum CPU frequency - maximum CPU frequency - governor\n")); in proc_cpufreq_output() 75 min_pctg = (policy->min * 100) / max; in proc_cpufreq_output() 76 max_pctg = (policy->max * 100) / max; in proc_cpufreq_output() 78 printf("CPU%3d %9lu kHz (%3d %%) - %9lu kHz (%3d %%) - %s\n", in proc_cpufreq_output() 79 cpu , policy->min, max ? min_pctg : 0, policy->max, in proc_cpufreq_output() 80 max ? max_pctg : 0, policy->governor); in proc_cpufreq_output() [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/vt6655/ |
| D | rxtx.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 19 #define DEFAULT_MSDU_LIFETIME_RES_64us 8000 /* 64us */ 20 #define DEFAULT_MGN_LIFETIME_RES_64us 125 /* 64us */ 23 /*--------------------- Export Definitions -------------------------*/ 25 /*--------------------- Export Variables --------------------------*/ 27 /*--------------------- Export Functions --------------------------*/ 91 __le16 duration; member 97 __le16 duration; member 130 __le16 duration; member 137 __le16 duration; member [all …]
|
| /kernel/linux/linux-6.6/Documentation/tools/rtla/ |
| D | common_options.rst | 1 **-c**, **--cpus** *cpu-list* 3 Set the osnoise tracer to run the sample threads in the cpu-list. 5 **-H**, **--house-keeping** *cpu-list* 7 Run rtla control threads only on the given cpu-list. 9 **-d**, **--duration** *time[s|m|h|d]* 11 Set the duration of the session. 13 **-D**, **--debug** 17 **-t**, **--trace**\[*=file*] 21 **-e**, **--event** *sys:event* 23 …-t**) session. The argument can be a specific event, e.g., **-e** *sched:sched_switch*, or all eve… [all …]
|
| /kernel/linux/linux-6.6/drivers/thermal/ |
| D | cpuidle_cooling.c | 1 // SPDX-License-Identifier: GPL-2.0 21 * struct cpuidle_cooling_device - data for the idle cooling device 31 * cpuidle_cooling_runtime - Running time computation 35 * The running duration is computed from the idle injection duration 37 * means the running duration is zero. If we have a 50% ratio 38 * injection, that means we have equal duration for idle and for 39 * running duration. 43 * running = idle x ((100 / ratio) - 1) 47 * running = (idle x 100) / ratio - idle 49 * For example, if we have an injected duration of 50%, then we end up [all …]
|