Home
last modified time | relevance | path

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

12345678910>>...42

/linux/tools/perf/scripts/python/
H A 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/Documentation/scheduler/
H A 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 ---------------
42 Real-time scheduling is all about determinism, a group has to be able to rely on
43 the amount of bandwidth (eg. CPU time) being constant. In order to schedule
44 multiple groups of real-time tasks, each group must be assigned a fixed portion
45 of the CPU time available. Without a minimum guarantee a real-time group can
50 ----------------
[all …]
H A Dsched-util-clamp.rst1 .. SPDX-License-Identifier: GPL-2.0
23 system run at a certain performance point.
57 foreground, top-app, etc. Util clamp can be used to constrain how much
59 can run at. This constraint helps reserve resources for important tasks, like
60 the ones belonging to the currently active app (top-app group). Beside this
65 1. The big cores are free to run top-app tasks immediately. top-app
68 2. They don't run on a power hungry core and drain battery even if they
85 On the other hand, a busy task for instance that requires to run at maximum
88 mobile devices where frames will drop due to slow response time to select the
89 higher frequency required for the tasks to finish their work in time. Setting
[all …]
H A Dsched-eevdf.rst9 of EEVDF proposed by Peter Zijlstra in 2023 [2-4]. More information
11 Documentation/scheduler/sched-design-CFS.rst.
13 Similarly to CFS, EEVDF aims to distribute CPU time equally among all
14 runnable tasks with the same priority. To do so, it assigns a virtual run
15 time to each task, creating a "lag" value that can be used to determine
16 whether a task has received its fair share of CPU time. In this way, a task
17 with a positive lag is owed CPU time, while a negative lag means the task
21 allows latency-sensitive tasks with shorter time slices to be prioritized,
25 tasks; but at the time of writing EEVDF uses a "decaying" mechanism based
26 on virtual run time (VRT). This prevents tasks from exploiting the system
[all …]
/linux/include/uapi/linux/
H A Dum_timetravel.h1 /* SPDX-License-Identifier: BSD-3-Clause */
3 * Copyright (C) 2019 - 2023 Intel Corporation
10 * struct um_timetravel_msg - UM time travel message
14 * This is the message passed between the host (user-mode Linux instance)
19 * calendar, and then wait for its turn until it can run, etc. Note
30 * @seq: sequence number for the message - shall be reflected in
37 * @time: time in nanoseconds
39 __u64 time; member
46 * enum um_timetravel_shared_mem_fds - fds sent in ACK message for START message
63 * enum um_timetravel_start_ack - ack-time mask for start message
[all …]
/linux/tools/perf/tests/shell/
H A Ddaemon.sh3 # SPDX-License-Identifier: GPL-2.0
55 local run=$3
82 if [ "${run}" != "${line_run}" ]; then
83 echo "FAILED: wrong run"
118 line=`perf daemon --config ${config} -x: | head -1`
123 trap - SIGINT SIGTERM
126 perf daemon stop --config ${config}
129 tail --pid=${pid} -f /dev/null
137 perf daemon start --config ${config}
146 state=`perf daemon ping --config ${config} --session ${session} | awk '{ print $1 }'`
[all …]
/linux/Documentation/RCU/
H A Dtorture.rst1 .. SPDX-License-Identifier: GPL-2.0
13 be loaded to run a torture test. The test periodically outputs
19 Documentation/admin-guide/kernel-parameters.txt.
26 …rcu-torture:--- Start of test: nreaders=16 nfakewriters=4 stat_interval=30 verbose=0 test_no_idle_…
27 …rcu-torture: rtc: (null) ver: 155441 tfle: 0 rta: 155441 rtaf: 8884 rtf: 155440 rtmbe: 0…
28 rcu-torture: Reader Pipe: 727860534 34213 0 0 0 0 0 0 0 0 0
29 rcu-torture: Reader Batch: 727877838 17003 0 0 0 0 0 0 0 0 0
30 …rcu-torture: Free-Block Circulation: 155440 155440 155440 155440 155440 155440 155440 155440 1554…
31 …rcu-torture:--- End of test: SUCCESS: nreaders=16 nfakewriters=4 stat_interval=30 verbose=0 test_n…
37 be evident. ;-)
[all …]
/linux/fs/btrfs/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0
24 Btrfs is a general purpose copy-on-write filesystem with extents,
52 bool "Btrfs will run sanity tests upon loading"
55 This will run sanity tests for core functionality like free space,
57 at module load time. These are mostly regression tests and are only
66 Enable run-time debugging support for the btrfs filesystem.
79 Enable run-time assertion checking. Additional safety checks are
81 and assumptions of code to run properly. This may result in panics,
97 - COW fixup worker warning - last warning before removing the
98 functionality catching out-of-band page
[all …]
/linux/arch/mips/kvm/
H A Demulate.c23 #include <asm/cpu-info.h>
45 struct kvm_vcpu_arch *arch = &vcpu->arch; in kvm_compute_return_epc()
52 return -EINVAL; in kvm_compute_return_epc()
65 arch->gprs[insn.r_format.rd] = epc + 8; in kvm_compute_return_epc()
68 nextpc = arch->gprs[insn.r_format.rs]; in kvm_compute_return_epc()
71 return -EINVAL; in kvm_compute_return_epc()
84 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc()
93 if ((long)arch->gprs[insn.i_format.rs] >= 0) in kvm_compute_return_epc()
102 arch->gprs[31] = epc + 8; in kvm_compute_return_epc()
103 if ((long)arch->gprs[insn.i_format.rs] < 0) in kvm_compute_return_epc()
[all …]
/linux/tools/perf/Documentation/
H A Dperf-script.txt1 perf-script(1)
5 ----
6 perf-script - Read perf.data (created by perf record) and display trace output
9 ---
[all...]
/linux/tools/power/pm-graph/
H A DREADME8 pm-graph: suspend/resume/boot timing analysis tools
11 …Home Page: https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/overvi…
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:
20 - Feature Summary:
21 https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/features.html
23 - upstream version in git:
24 git clone https://github.com/intel/pm-graph/
27 - Overview
[all …]
/linux/Documentation/power/
H A 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/tools/testing/memblock/
H A DREADME8 Memblock is a boot time memory allocator[1] that manages memory regions before
17 allocation functionalities of memblock. The main data structure of the boot time
18 memory allocator is initialized at the build time, so the checks here reuse its
22 As this project uses the actual memblock code and has to run in user space,
32 To run the tests, build the main target and run it:
36 A successful run produces no output. It is possible to control the behavior
38 append the `-v` options when you run the tests:
40 $ ./main -v
45 For the full list of options from command line, see `./main --help`.
62 |-- asm ------------------,
[all …]
/linux/Documentation/admin-guide/
H A 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/Documentation/leds/
H A 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/tools/testing/ktest/
H A 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/rust/kernel/
H A Dbuild_assert.rs1 // SPDX-License-Identifier: GPL-2.0
3 //! Build-time assert.
18 /// fn foo(a: usize) -> usize {
22 /// assert_eq!(foo(usize::MAX - 1), usize::MAX); // OK.
35 /// Asserts that a boolean expression is `true` at compile time.
50 /// static_assert!(1 > 1); // Compile-time erro
[all...]
/linux/Documentation/dev-tools/
H A Dpropeller.rst1 .. SPDX-License-Identifier: GPL-2.0
8 compiler. Propeller is a profile-guided optimization (PGO) method used
24 "build-afdo - train-afdo - build-propeller - train-propeller -
25 build-optimized".
37 you would normally do, but with a set of compile-time / link-time
41 change kernel run time text sections.
43 #. Profiling: The above kernel is then run with a representative
54 binary as you would normally do, but with a compile-time /
55 link-time flag to pick up the Propeller compile time and link time
56 profiles. This build step uses 3 profiles - the AutoFDO profile,
[all …]
/linux/Documentation/driver-api/dmaengine/
H A Ddmatest.rst16 test multiple channels at the same time, and it can start multiple threads
21 capability of the following: DMA_MEMCPY (memory-to-memory), DMA_MEMSET
22 (const-to-memory or memory-to-memory, when emulated), DMA_XOR, DMA_PQ.
28 Part 1 - How to build the test module
33 Device Drivers -> DMA Engine support -> DMA Test client
38 Part 2 - When dmatest is built as a module
43 % modprobe dmatest timeout=2000 iterations=1 channel=dma0chan0 run=1
51 % echo 1 > /sys/module/dmatest/parameters/run
55 dmatest.timeout=2000 dmatest.iterations=1 dmatest.channel=dma0chan0 dmatest.run=1
57 Example of multi-channel test usage (new in the 5.0 kernel)::
[all …]
/linux/tools/power/cpupower/bench/
H A 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/Documentation/ABI/testing/
H A 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/tools/power/pm-graph/config/
H A 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/drivers/ras/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
8 and help them stay available for long periods of time without
12 produce correct outputs up to some given time. Reliability is
17 time, i.e. the amount of time a device is actually operating as the
18 percentage of total time it should be operating.
21 which a system can be repaired or maintained; if the time to repair
28 be functioning correctly. For example, a server may run forever and
46 Memory will be retired during boot time and run time depending on
47 platform-specific policies.
/linux/Documentation/dev-tools/kunit/
H A Dstart.rst1 .. SPDX-License-Identifier: GPL-2.0
8 teaching how to run existing tests and then how to write a simple test case,
9 and covers common problems users face when using KUnit for the first time.
14 build the kernel, you can run KUnit.
20 can run kunit_tool:
22 .. code-block:: bash
24 ./tools/testing/kunit/kunit.py run
28 "The source tree is not clean, please run 'make ARCH=um mrproper'"
32 through the argument ``--build_dir``. Hence, before starting an
33 out-of-tree build, the source tree must be clean.
[all …]
/linux/tools/testing/selftests/hid/tests/
H A Dbase.py2 # SPDX-License-Identifier: GPL-2.0
3 # -*- coding: utf-8 -*-
13 import time
159 # for example ("playstation", "hid-playstation")
162 # List of in kernel HID-BPF object files to load
164 # Any existing pre-loaded HID-BPF module will be removed
167 # for example '("xppen-ArtistPro16Gen2.bpf.o", True)'
225 sysfs_path = Path("/sys/module") / kernel_module.replace("-", "_")
227 ret = subprocess.run(["/usr/sbin/modprobe", kernel_module])
244 udev_hid_bpf = shutil.which("udev-hid-bpf")
[all …]

12345678910>>...42