Home
last modified time | relevance | path

Searched +full:run +full:- +full:time (Results 1 – 25 of 1038) sorted by relevance

12345678910>>...42

/linux-5.10/tools/perf/scripts/python/
Dstat-cpi.py1 # SPDX-License-Identifier: GPL-2.0
10 def get_key(time, event, cpu, thread): argument
11 return "%d-%s-%d-%d" % (time, event, cpu, thread)
13 def store_key(time, cpu, thread): argument
14 if (time not in times):
15 times.append(time)
23 def store(time, event, cpu, thread, val, ena, run): argument
24 #print("event %s cpu %d, thread %d, time %d, val %d, ena %d, run %d" %
25 # (event, cpu, thread, time, val, ena, run))
27 store_key(time, cpu, thread)
[all …]
/linux-5.10/Documentation/scheduler/
Dsched-rt-group.rst2 Real-Time group scheduling
12 2.1 System-wide settings
28 resolution, or the time it takes to handle the budget refresh itself.
33 are real-time processes).
40 ---------------
43 the amount of bandwidth (eg. CPU time) being constant. In order to schedule
45 of the CPU time available. Without a minimum guarantee a realtime group can
50 ----------------
52 CPU time is divided by means of specifying how much time can be spent running
53 in a given period. We allocate this "run time" for each realtime group which
[all …]
Dsched-bwc.rst6 The SCHED_RT case is covered in Documentation/scheduler/sched-rt-group.rst ]
13 microseconds of CPU time. That quota is assigned to per-cpu run queues in
16 throttled. Throttled threads will not be able to run again until the next
21 is transferred to cpu-local "silos" on a demand basis. The amount transferred
25 ----------
28 cpu.cfs_quota_us: the total available run-time within a period (in microseconds)
35 cpu.cfs_quota=-1
37 A value of -1 for cpu.cfs_quota_us indicates that the group does not have any
39 bandwidth group. This represents the traditional work-conserving behavior for
55 --------------------
[all …]
Dsched-design-CFS.rst15 an "ideal, precise multi-tasking CPU" on real hardware.
17 "Ideal multi-tasking CPU" is a (non-existent :-)) CPU that has 100% physical
18 power and which can run each task at precise equal speed, in parallel, each at
20 each at 50% physical power --- i.e., actually in parallel.
22 On real hardware, we can run only a single task at once, so we have to
25 multi-tasking CPU described above. In practice, the virtual runtime of a task
33 In CFS the virtual runtime is expressed and tracked via the per-task
34 p->se.vruntime (nanosec-unit) value. This way, it's possible to accurately
35 timestamp and measure the "expected CPU time" a task should have gotten.
37 [ small detail: on "ideal" hardware, at any time all tasks would have the same
[all …]
/linux-5.10/Documentation/dev-tools/kunit/
Dindex.rst1 .. SPDX-License-Identifier: GPL-2.0
4 KUnit - Unit Testing for the Linux Kernel
12 kunit-tool
28 writing unit tests. Tests written against KUnit will run on kernel boot if
29 built-in, or when loaded if built as a module. These tests write out results to
33 :doc:`kunit_tool <kunit-tool>`, which builds a `User Mode Linux
34 <http://user-mode-linux.sourceforge.net>`_ kernel, runs it, and parses the test
51 KUnit tests can be run on most architectures, and most tests are architecture
52 independent. All built-in KUnit tests run on kernel startup. Alternatively,
53 KUnit and KUnit tests can be built as modules and tests will run when the test
[all …]
/linux-5.10/tools/testing/kunit/
Dkunit.py2 # SPDX-License-Identifier: GPL-2.0
13 import time
54 request: KunitConfigRequest) -> KunitResult:
57 config_start = time.time()
59 config_end = time.time()
63 config_end - config_start)
66 config_end - config_start)
69 request: KunitBuildRequest) -> KunitResult:
72 build_start = time.time()
77 build_end = time.time()
[all …]
/linux-5.10/drivers/powercap/
Didle_inject.c1 // SPDX-License-Identifier: GPL-2.0
8 * states for a specified fraction of time over a specified period.
13 * All of the kthreads used for idle injection are created at init time.
19 * The idle + run duration is specified via separate helpers and that allows
34 * It is up to the user of this framework to provide a lock for higher-level
51 * struct idle_inject_thread - task on/off switch structure
53 * @should_run: whether or not to run the task (for the smpboot kthread API)
61 * struct idle_inject_device - idle injection data
63 * @idle_duration_us: duration of CPU idle time to inject
64 * @run_duration_us: duration of CPU run time to allow
[all …]
/linux-5.10/include/uapi/linux/
Dum_timetravel.h21 * struct um_timetravel_msg - UM time travel message
25 * This is the message passed between the host (user-mode Linux instance)
30 * calendar, and then wait for its turn until it can run, etc. Note
41 * @seq: sequence number for the message - shall be reflected in
48 * @time: time in nanoseconds
50 __u64 time; member
54 * enum um_timetravel_ops - Operation codes
59 * this usually doesn't carry any data in the 'time' field
65 * @UM_TIMETRAVEL_START: initialize the connection, the time
72 * @UM_TIMETRAVEL_REQUEST: request to run at the given time
[all …]
/linux-5.10/tools/power/pm-graph/
Dsleepgraph.83 sleepgraph \- Suspend/Resume timing analysis
11 in optimizing their linux stack's suspend/resume time. Using a kernel
16 taking the most time in suspend/resume.
21 Generates output files in subdirectory: suspend-yymmdd-HHMMSS
27 \fB-h\fR
30 \fB-v\fR
33 \fB-verbose\fR
36 \fB-config \fIfile\fR
39 \fB-m \fImode\fR
42 \fB-o \fIname\fR
[all …]
DREADME8 pm-graph: suspend/resume/boot timing analysis tools
11 Home Page: https://01.org/pm-graph
13 Report bugs/issues at bugzilla.kernel.org Tools/pm-graph
14 - https://bugzilla.kernel.org/buglist.cgi?component=pm-graph&product=Tools
17 - Getting Started:
18 https://01.org/pm-graph/documentation/getting-started
20 - Config File Format:
21 https://01.org/pm-graph/documentation/3-config-file-format
23 - upstream version in git:
24 https://github.com/intel/pm-graph/
[all …]
/linux-5.10/tools/perf/Documentation/
Dperf-script.txt1 perf-script(1)
5 ----
6 perf-script - Read perf.data (created by perf record) and display trace output
9 --------
12 'perf script' [<options>] record <script> [<record-options>] <command>
13 'perf script' [<options>] report <script> [script-args]
14 'perf script' [<options>] <script> <required-script-args> [<record-options>] <command>
15 'perf script' [<options>] <top-script> [script-args]
18 -----------
26 You can also run a set of pre-canned scripts that aggregate and
[all …]
Dperf-sched.txt1 perf-sched(1)
5 ----
6 perf-sched - Tool to trace/measure scheduler properties (latencies)
9 --------
14 -----------
30 of the workload as it occurred when it was recorded - and can repeat
33 'perf sched map' to print a textual context-switching outline of
35 individual CPUs, and the two-letter shortcuts stand for tasks that
42 perf sched record -- sleep 1
46 time (time between sched-out and next sched-in events for the task), the
[all …]
/linux-5.10/fs/btrfs/
DKconfig1 # SPDX-License-Identifier: GPL-2.0
23 Btrfs is a general purpose copy-on-write filesystem with extents,
57 after a power-loss or kernel panic event the filesystem is
66 to verify the integrity of (super)-block write requests
67 during the run of a regression test, say N
70 bool "Btrfs will run sanity tests upon loading"
73 This will run some basic sanity tests on the free space cache
84 Enable run-time debugging support for the btrfs filesystem. This may
94 Enable run-time assertion checking. This will result in panics if
104 Enable run-time extent reference verification instrumentation. This
/linux-5.10/Documentation/power/
Druntime_pm.rst5 (C) 2009-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
18 put their PM-related work items. It is strongly recommended that pm_wq be
20 them to be synchronized with system-wide power transitions (suspend to RAM,
53 The ->runtime_suspend(), ->runtime_resume() and ->runtime_idle() callbacks
57 1. PM domain of the device, if the device's PM domain object, dev->pm_domain,
60 2. Device type of the device, if both dev->type and dev->type->pm are present.
62 3. Device class of the device, if both dev->class and dev->class->pm are
65 4. Bus type of the device, if both dev->bus and dev->bus->pm are present.
69 dev->driver->pm directly (if present).
73 and bus type. Moreover, the high-priority one will always take precedence over
[all …]
/linux-5.10/Documentation/admin-guide/
Dlockup-watchdogs.rst10 details), without giving other tasks a chance to run. The current
14 "softlockup_panic" (see "Documentation/admin-guide/kernel-parameters.rst" for
20 details), without letting other interrupts have a chance to run.
24 'hardlockup_panic', a compile time knob, "BOOTPARAM_HARDLOCKUP_PANIC",
26 (see "Documentation/admin-guide/kernel-parameters.rst" for details).
31 of time.
43 (compile-time initialized to 10 and configurable through sysctl of the
45 does not receive any hrtimer interrupt during that time the
51 timestamp every time it is scheduled. If that timestamp is not updated
64 event. The right value for a particular environment is a trade-off
[all …]
/linux-5.10/Documentation/leds/
Dledtrig-transient.rst8 to be off. The delay_on value specifies the time period an LED should stay
11 gets deactivated. There is no provision for one time activation to implement
36 that are active at the time driver gets suspended, continue to run, without
56 non-transient state. When driver gets suspended, irrespective of the transient
71 - duration allows setting timer value in msecs. The initial value is 0.
72 - activate allows activating and deactivating the timer specified by
75 - state allows user to specify a transient state to be held for the specified
79 - one shot timer activate mechanism.
90 - one shot timer value. When activate is set, duration value
96 - transient state to be held. It has two values 0 or 1. 0 maps
[all …]
/linux-5.10/tools/testing/ktest/
Dsample.conf5 # ktest.pl is run from. By default, ktest.pl will look for a file
45 # only enabling the ones you want to use for a current test run.
54 # MIN_CONFIG = /home/test/config-test1
57 # MIN_CONFIG = /home/test/config-default
61 # The above will run the first test with MIN_CONFIG set to
62 # /home/test/config-test-1. Then 10 tests will be executed
63 # with MIN_CONFIG with /home/test/config-default.
68 # MIN_CONFIG = /home/test/config-use-sometimes
71 # MIN_CONFIG = /home/test/config-most-times
78 # ktest will fail to execute, and no tests will run.
[all …]
/linux-5.10/Documentation/admin-guide/pm/
Dcpuidle.rst1 .. SPDX-License-Identifier: GPL-2.0
8 CPU Idle Time Management
27 CPU idle time management is an energy-efficiency feature concerned about using
31 ------------
33 CPU idle time management operates on CPUs as seen by the *CPU scheduler* (that
37 software as individual single-core processors. In other words, a CPU is an
43 program) at a time, it is a CPU. In that case, if the hardware is asked to
46 Second, if the processor is multi-core, each core in it is able to follow at
47 least one program at a time. The cores need not be entirely independent of each
48 other (for example, they may share caches), but still most of the time they
[all …]
/linux-5.10/arch/s390/kvm/
Ddiag.c1 // SPDX-License-Identifier: GPL-2.0
14 #include <asm/virtio-ccw.h>
15 #include "kvm-s390.h"
17 #include "trace-s390.h"
25 start = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; in diag_release_pages()
26 end = vcpu->run->s.regs.gprs[vcpu->arch.sie_block->ipa & 0xf] + PAGE_SIZE; in diag_release_pages()
27 vcpu->stat.diagnose_10++; in diag_release_pages()
40 gmap_discard(vcpu->arch.gmap, start, end); in diag_release_pages()
48 gmap_discard(vcpu->arch.gmap, start, prefix); in diag_release_pages()
50 gmap_discard(vcpu->arch.gmap, 0, PAGE_SIZE); in diag_release_pages()
[all …]
/linux-5.10/tools/power/cpupower/bench/
DREADME-BENCH1 This is cpufreq-bench, a microbenchmark for the cpufreq framework.
7 - Identify worst case performance loss when doing dynamic frequency
9 - Identify average reaction time of a governor to CPU load changes
10 - (Stress) Testing whether a cpufreq low level driver or governor works
12 - Identify cpufreq related performance regressions between kernels
13 - Possibly Real time priority testing? -> what happens if there are
15 - ...
18 - Power saving related regressions (In fact as better the performance
21 - Real world (workloads)
27 cpufreq-bench helps to test the condition of a given cpufreq governor.
[all …]
/linux-5.10/tools/power/pm-graph/config/
Dexample.cfg7 # and kprobes. It is run like this
9 # sudo ./sleepgraph.py -config config/example.cfg
14 # ---- General Options ----
25 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
26 output-dir: suspend-{hostname}-{date}-{time}
45 # run sync before the test, minimizes sys_sync call time (default: false)
49 # Enable/disable runtime suspend for all devices, restore all after test (default: no-action)
53 # Switch the display on/off for the test using xset (default: no-action)
57 # Print the status of the test run in the given file (default: no-action)
64 # ---- Advanced Options ----
[all …]
/linux-5.10/Documentation/ABI/testing/
Dsysfs-devices-power40 space to control the run-time power management of the device.
45 + "auto\n" to allow the device to be power managed at run time;
51 from power managing the device at run time. Doing that while
61 with the main suspend/resume thread) during system-wide power
86 attribute is read-only. If the device is not capable to wake up
98 is read-only. If the device is not capable to wake up the
110 state in progress. This attribute is read-only. If the device
122 read-only. If the device is not capable to wake up the system
133 the device is being processed (1). This attribute is read-only.
144 the total time of processing wakeup events associated with the
[all …]
/linux-5.10/arch/arm/mach-pxa/
DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
6 comment "Intel/Marvell Dev Platforms (sorted by hardware release time)"
119 Say Y here if you intend to run this kernel on a Cogent
127 bool "CompuLab CM-X300 modules"
133 bool "Embedian CAPC-7117 evaluation kit based on the MXM-8x10 CoM"
141 Say Y here if you intend to run this kernel on
142 Basix, Connex, ws-200ax, ws-400ax systems
178 bool "PXA based Keith und Koep Trizeps DIMM-Modules"
181 bool "Keith und Koep Trizeps4 DIMM-Module"
187 bool "Keith und Koep Trizeps4-WL DIMM-Module"
[all …]
/linux-5.10/tools/perf/util/
Dstat-display.c25 u64 run, u64 ena) in print_running() argument
27 if (config->csv_output) { in print_running()
28 fprintf(config->output, "%s%" PRIu64 "%s%.2f", in print_running()
29 config->csv_sep, in print_running()
30 run, in print_running()
31 config->csv_sep, in print_running()
32 ena ? 100.0 * run / ena : 100.0); in print_running()
33 } else if (run != ena) { in print_running()
34 fprintf(config->output, " (%.2f%%)", 100.0 * run / ena); in print_running()
43 if (config->csv_output) in print_noise_pct()
[all …]
/linux-5.10/Documentation/locking/
Dlocktorture.rst18 acquire the lock and hold it for specific amount of time, thus simulating
20 can be simulated by either enlarging this critical region hold time and/or
30 Locktorture-specific
31 --------------------
49 - "lock_busted":
52 - "spin_lock":
55 - "spin_lock_irq":
58 - "rw_lock":
61 - "rw_lock_irq":
65 - "mutex_lock":
[all …]

12345678910>>...42