Home
last modified time | relevance | path

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

12345678910>>...43

/openbmc/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 …]
/openbmc/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 ---------------
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 …]
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_poh_counter.robot5 ... POH (Power-On Hours) counter is the incremental count of power ON
10 ... Testcases added -
13 ... Verify POH Counter Reading With Wait Time
21 ... Wait Time given - 1 hour, 1 hour 30minutes when Host power OFF, 1 hour
25 ... time / Power operation.
51 ${resp}= Run External IPMI Raw Command
61 ${resp}= Run Keyword and Expect Error *Request data length invalid*
62 ... Run External IPMI Raw Command ${IPMI_RAW_CMD['Get']['POH_Counter'][0]} 0x00
65 Verify POH Counter Reading With Wait Time
66 [Documentation] Verify POH counter reading with wait time via IPMI.
[all …]
H A Dtest_ipmi_sel.robot23 ${event_type} Lower Non-critical going low
47 ${resp}= Run IPMI Standard Command sel elist last 1
54 Run IPMI Standard Command sel clear
59 ${resp}= Run IPMI Standard Command sel list
72 [Teardown] Run Keywords FFDC On Test Case Fail AND Run IPMI Standard Command sel clear
80 ${resp}= Run IPMI Standard Command sel elist last 1
83 Run Keywords Should Contain ${resp} system hardware failure AND
90 [Teardown] Run Keywords FFDC On Test Case Fail AND Run IPMI Standard Command sel clear
109 ${resp}= Run IPMI Standard Command sel elist
115 # Lower Non-critical going low | Asserted | Reading 0.
[all …]
H A Dtest_ipmi_sel_time.robot3 Documentation Module to test IPMI SEL Time functionality.
4 ... Pre-requisite Condition : Client Machine and BMC should be in
10 ... Test the Set/Get SEL Time functionality and compare the result against
13 ... Set the Time Sync Mode from NTP to Manual to Set SEL Time.
14 ... Time Sync Mode change performed via REDFISH URI.
15 ... Performs the change in Time Sync Mode with Test Setup and Teardown Execution
18 ... NETWORK_RESTART_TIME added for Set SEL Time and Add SEL Entry as the corresponding
21 ... Current SEL time identified via BMC Native command (date) and perform SEL Time ope…
23 ... Script Verifies SEL Time for various scenarios such as,
24 ... Get current time from BMC and add future year and compare against BMC native comma…
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/runtime/cases/
H A Dsystemd.py4 # SPDX-License-Identifier: MIT
9 import time
21 status, output = self.target.run(command)
24 cmd = 'SYSTEMD_BUS_TIMEOUT=240s systemctl status --full %s' % target
25 message += self.target.run(cmd)[1]
35 -args, an optional argument pass through argument
36 -l_match_units, an optional list of units to filter the output
38 -string output of the journalctl command
40 -AssertionError, on remote commands that fail
41 -ValueError, on a journalctl call with filtering by l_match_units that
[all …]
H A Drtc.py4 # SPDX-License-Identifier: MIT
16 if self.tc.td.get('VIRTUAL-RUNTIME_init_manager') == 'systemd':
17 self.logger.debug('Stopping systemd-timesyncd daemon')
18 self.target.run('systemctl disable --now --runtime systemd-timesyncd')
21 if self.tc.td.get('VIRTUAL-RUNTIME_init_manager') == 'systemd':
22 self.logger.debug('Starting systemd-timesyncd daemon')
23 self.target.run('systemctl enable --now --runtime systemd-timesyncd')
25 @skipIfFeature('read-only-rootfs',
26 'Test does not work with read-only-rootfs in IMAGE_FEATURES')
30 (status, output) = self.target.run('hwclock -r')
[all …]
H A Doe_syslog.py4 # SPDX-License-Identifier: MIT
11 import time
16 @OEHasPackage(["busybox-syslog", "sysklogd", "rsyslog", "syslog-ng"])
18 status, output = self.target.run(self.tc.target_cmds['ps'])
22 hasdaemon = "syslogd" in output or "syslog-ng" in output or "svlogd" in output
29 status, err_output = self.target.run('kill -0 %s' %pid)
37 status, pid = self.target.run('pidof %s' %name)
50 status, output = self.target.run(restart_cmd)
59 timeout = time.time() + 30
63 while time.time() < timeout:
[all …]
H A Drpm.py4 # SPDX-License-Identifier: MIT
9 import time
22 status, output = self.target.run('rpm --help')
28 status, output = self.target.run('ls /var/lib/rpm/')
31 status, output = self.target.run('rpm -q rpm')
39 status, output = self.target.run('id -u %s' % u)
41 status, output = self.target.run('useradd %s' % u)
46 status, output = self.target.run('su -c id %s' % u)
50 status, output = self.target.run('su -c "rpm -qa" %s ' % u)
51 msg = 'status: %s. Cannot run rpm -qa: %s' % (status, output)
[all …]
/openbmc/openbmc-test-automation/systest/
H A Dhtx_hardbootme_test.robot10 # HTX_DURATION Duration of HTX run, for example, 2h, or 30m.
12 # HTX_INTERVAL The time delay between consecutive checks of HTX
14 # In summary: Run HTX for $HTX_DURATION, looping
16 # $HTX_INTERVAL. Then allow extra time for OS
21 # and after each HTX run will be disabled. This
25 # snapshots taken before and after each HTX run will
30 # INV_IGNORE_LIST A comma-delimited list of strings that
50 Suite Setup Run Keyword And Ignore Error Start SOL Console Logging
84 Run Keyword If '${PREV_INV_FILE_PATH}' != 'NONE'
93 # Estimate the time required for a single iteration loop.
[all …]
/openbmc/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 …]
/openbmc/openbmc-test-automation/redfish/managers/
H A Dtest_managers_bmc_time.robot2 Documentation Test BMC manager time functionality.
18 ${date_time_with_offset} 2019-04-25T26:24:46+00:00
19 ${expected_date_time} 2019-04-26T02:24:46+00:00
20 ${invalid_datetime} "2019-04-251T12:24:46+00:00"
24 Verify Redfish BMC Time
25 [Documentation] Verify that date/time obtained via redfish matches
26 ... date/time obtained via BMC command line.
36 ... The difference between Redfish time and CLI time exceeds the allowed time difference.
39 Verify Set Time Using Redfish
40 [Documentation] Verify set time using redfish API.
[all …]
/openbmc/linux/tools/testing/kunit/
H A Dkunit.py2 # SPDX-License-Identifier: GPL-2.0
15 import time
70 def get_kernel_root_path() -> str:
78 request: KunitConfigRequest) -> KunitResult:
81 config_start = time.time()
83 config_end = time.time()
85 return KunitResult(status, config_end - config_start)
88 request: KunitBuildRequest) -> KunitResult:
91 build_start = time.time()
95 build_end = time.time()
[all …]
/openbmc/u-boot/tools/concurrencytest/
H A Dconcurrencytest.py2 # SPDX-License-Identifier: GPL-2.0+
8 # Copyright (C) 2005-2011 Canonical Ltd
15 This allows you to parallelize a test run across a configurable number
16 of worker processes. While this can speed up CPU-bound test runs, it is
17 mainly useful for IO-bound tests that spend most of their time waiting for
56 :return: An iterable of TestCase-like objects which can each have
57 run(result) called on them to feed tests to result.
81 process_suite.run(subunit_result)
104 # This just assigns tests in a round-robin fashion. On one hand this
105 # splits up blocks of related tests that might run faster if they shared
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A Drun-ptest2 # ptest script for glibc - to run time related tests to
4 # Run with 'ptest-runner glibc-tests'
8 if [ $retcode -eq 0 ]
10 elif [ $retcode -eq 77 ]
16 # Allow altering time on the target
19 tst_time64=$(ls -r ${PWD}/tests/glibc-ptest/*-time64)
21 # Remove '-time64' suffix - those tests are also time
23 tst_time_tmp=$(sed -e "s/-time64$//" <<< ${tst_time64})
25 # Do not run tests supporting only 32 bit time
32 # Run tests supporting only 64 bit time
/openbmc/qemu/scripts/simplebench/
H A Dsimplebench.py23 import time
27 subprocess.run('sync; echo 3 > /proc/sys/vm/drop_caches', shell=True,
33 """Benchmark one test-case
35 test_func -- benchmarking function with prototype
43 test_env -- test environment - opaque first argument for test_func
44 test_case -- test case - opaque second argument for test_func
45 count -- how many times to call test_func, to calculate average
46 initial_run -- do initial run of test_func, which don't get into result
47 slow_limit -- stop at slow run (that exceedes the slow_limit by seconds).
48 (initial run is not measured)
[all …]
/openbmc/u-boot/doc/
H A DREADME.trace1 # SPDX-License-Identifier: GPL-2.0+
5 Tracing in U-Boot
8 U-Boot supports a simple tracing feature which allows a record of excecution
10 main use for this is to profile boot time.
14 --------
16 The trace feature uses GCC's instrument-functions feature to trace all
27 Quick-start using Sandbox
28 -------------------------
30 Sandbox is a build of U-Boot that can run under Linux so it is a convenient
43 Build sandbox U-Boot with tracing enabled:
[all …]
/openbmc/linux/include/uapi/linux/
H A 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 …]
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dsshcontrol.py4 # SPDX-License-Identifier: MIT
12 import time
25 "bufsize": -1,
49 self.starttime = time.time()
55 while time.time() < endtime and not eof:
63 data = data.decode("utf-8")
66 endtime = time.time() + timeout
73 time.sleep(5)
78 …lastline = "\nProcess killed - no output for %d seconds. Total running time: %d seconds." % (timeo…
88 def run(self, command, timeout=None, logfile=None): member in SSHProcess
[all …]
/openbmc/linux/drivers/powercap/
H A 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 …]
/openbmc/openbmc/poky/meta/lib/oeqa/core/target/
H A Dssh.py4 # SPDX-License-Identifier: MIT
8 import time
23 fileHandler = logging.FileHandler(filePath, 'w', 'utf-8')
37 '-o', 'ServerAliveCountMax=2',
38 '-o', 'ServerAliveInterval=30',
39 '-o', 'UserKnownHostsFile=/dev/null',
40 '-o', 'StrictHostKeyChecking=no',
41 '-o', 'LogLevel=ERROR'
44 '-r'
46 self.ssh = ['ssh', '-l', self.user ] + ssh_options
[all …]
/openbmc/openbmc/poky/bitbake/contrib/
H A Dbbparse-torture.py5 # SPDX-License-Identifier: MIT
14 import time
27 try_unlink("bitbake-cookerdaemon.log")
52 print("Calibrating wait time...")
55 start_time = time.monotonic()
56 r = subprocess.run(["bitbake", "-p"])
57 max_wait_time = time.monotonic() - start_time
60 print("Calibration run exited with %d" % r.returncode)
63 print("Maximum wait time is %f seconds" % max_wait_time)
68 print("Run #%d" % run_num)
[all …]
/openbmc/openbmc-test-automation/extended/
H A Dtest_bmc_reset_loop.robot3 ... becomes unavailable during AC-Cycle stress test.
22 ${ERROR_REGEX} SEGV|core-dump|FAILURE|Failed to start|Found ordering cycle
26 Run Multiple Power Cycle
31 # By default run test for 50 loops, else user input iteration.
37 Run Multiple BMC Reset Via Redfish
41 # By default run test for 50 loops, else user input iteration.
47 Run Multiple BMC Reset Via Reboot
51 # By default run test for 50 loops, else user input iteration.
57 Run Multiple BMC Reset When Host Is Booted Via Redfish
61 # By default run test for 50 loops, else user input iteration.
[all …]
/openbmc/linux/tools/power/pm-graph/
H A 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 …]
/openbmc/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 …]

12345678910>>...43