Home
last modified time | relevance | path

Searched +full:monitor +full:- +full:script +full:- +full:pid (Results 1 – 25 of 69) sorted by relevance

123

/external/pytorch/.github/workflows/
D_mac-test.yml1 name: mac-test
6 build-environment:
9 description: Top-level label for what's being built/tested.
10 test-matrix:
14 sync-tag:
20 job with the same `sync-tag` is identical.
21 python-version:
27 timeout-minutes:
37 if: github.repository_owner == 'pytorch' && toJSON(fromJSON(inputs.test-matrix).include) != '[]'
38 # For setup-miniconda, see https://github.com/conda-incubator/setup-miniconda/issues/179
[all …]
D_win-test.yml1 name: win-test
6 build-environment:
9 description: Top-level label for what's being built/tested.
10 cuda-version:
14 test-matrix:
18 sync-tag:
24 job with the same `sync-tag` is identical.
25 timeout-minutes:
38 if: github.repository_owner == 'pytorch' && toJSON(fromJSON(inputs.test-matrix).include) != '[]'
40 matrix: ${{ fromJSON(inputs.test-matrix) }}
[all …]
D_rocm-test.yml1 # TODO: this looks sort of similar to _linux-test, but there are like a dozen
10 build-environment:
13 description: Top-level label for what's being built/tested.
14 test-matrix:
18 docker-image:
22 sync-tag:
28 job with the same `sync-tag` is identical.
29 timeout-minutes:
35 tests-to-include:
46 id-token: write
[all …]
D_xpu-test.yml1 # TODO: this looks sort of similar to _linux-test, but there are like a dozen
5 name: xpu-test
10 build-environment:
13 description: Top-level label for what's being built/tested.
14 test-matrix:
18 docker-image:
22 sync-tag:
28 job with the same `sync-tag` is identical.
29 timeout-minutes:
35 tests-to-include:
[all …]
D_linux-test.yml1 name: linux-test
6 build-environment:
9 description: Top-level label for what's being built/tested.
10 test-matrix:
14 docker-image:
18 sync-tag:
24 job with the same `sync-tag` is identical.
25 timeout-minutes:
31 use-gha:
36 dashboard-tag:
[all …]
/external/pytorch/test/distributed/launcher/
Dtest_run.py7 # This source code is licensed under the BSD-style license found in the
40 def path(script): argument
41 return os.path.join(os.path.dirname(__file__), script)
44 def get_child_pids(pid): argument
45 pgrep = subprocess.Popen(args=f"pgrep -P {pid}", shell=True, stdout=subprocess.PIPE)
47 out = pgrep.stdout.read().decode("utf-8").rstrip().split("\n")
49 for pid in out:
50 if pid:
51 pids.append(int(pid))
55 def pid_exists(pid): argument
[all …]
/external/cronet/stable/build/android/
Dadb_logcat_printer.py4 # Use of this source code is governed by a BSD-style license that can be
10 <base_dir> contains 'adb logcat -v threadtime' files named as
13 The script will print the files to out, and will combine multiple
16 Additionally, if a <base_dir>/LOGCAT_MONITOR_PID exists, the script
17 will attempt to terminate the contained PID by sending a SIGINT and
55 line = cur_device_log[-1]
57 if re.match(r'^\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{3} ', line):
60 logger.warning('splice error - no timestamp in "%s"?', line.strip())
123 device_logs += [('\n' + device[-5:] + ': ').join(combined_lines)]
142 logger.warning('Monitor (pid %d) terminated uncleanly?', monitor_pid)
[all …]
Dadb_logcat_monitor.py4 # Use of this source code is governed by a BSD-style license that can be
11 This script will repeatedly poll adb for new devices and save logcats
13 script will run until killed by an external signal. To test, run the
14 script in a shell and <Ctrl>-C it after a while. It should be
29 # Map from device_id -> (process, logcat_num)
49 error_filter = re.compile('- waiting for device -')
59 process = subprocess.Popen([adb_cmd, '-s', device_id,
60 'logcat', '-v', 'threadtime'],
97 """Monitor adb forever. Expects a SIGINT (Ctrl-C) to kill."""
106 format='%(asctime)-2s %(levelname)-8s %(message)s')
[all …]
/external/cronet/tot/build/android/
Dadb_logcat_printer.py4 # Use of this source code is governed by a BSD-style license that can be
10 <base_dir> contains 'adb logcat -v threadtime' files named as
13 The script will print the files to out, and will combine multiple
16 Additionally, if a <base_dir>/LOGCAT_MONITOR_PID exists, the script
17 will attempt to terminate the contained PID by sending a SIGINT and
55 line = cur_device_log[-1]
57 if re.match(r'^\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{3} ', line):
60 logger.warning('splice error - no timestamp in "%s"?', line.strip())
123 device_logs += [('\n' + device[-5:] + ': ').join(combined_lines)]
142 logger.warning('Monitor (pid %d) terminated uncleanly?', monitor_pid)
[all …]
Dadb_logcat_monitor.py4 # Use of this source code is governed by a BSD-style license that can be
11 This script will repeatedly poll adb for new devices and save logcats
13 script will run until killed by an external signal. To test, run the
14 script in a shell and <Ctrl>-C it after a while. It should be
29 # Map from device_id -> (process, logcat_num)
49 error_filter = re.compile('- waiting for device -')
59 process = subprocess.Popen([adb_cmd, '-s', device_id,
60 'logcat', '-v', 'threadtime'],
97 """Monitor adb forever. Expects a SIGINT (Ctrl-C) to kill."""
106 format='%(asctime)-2s %(levelname)-8s %(message)s')
[all …]
/external/angle/build/android/
Dadb_logcat_printer.py4 # Use of this source code is governed by a BSD-style license that can be
10 <base_dir> contains 'adb logcat -v threadtime' files named as
13 The script will print the files to out, and will combine multiple
16 Additionally, if a <base_dir>/LOGCAT_MONITOR_PID exists, the script
17 will attempt to terminate the contained PID by sending a SIGINT and
55 line = cur_device_log[-1]
57 if re.match(r'^\d{2}-\d{2} \d{2}:\d{2}:\d{2}.\d{3} ', line):
60 logger.warning('splice error - no timestamp in "%s"?', line.strip())
123 device_logs += [('\n' + device[-5:] + ': ').join(combined_lines)]
142 logger.warning('Monitor (pid %d) terminated uncleanly?', monitor_pid)
[all …]
Dadb_logcat_monitor.py4 # Use of this source code is governed by a BSD-style license that can be
11 This script will repeatedly poll adb for new devices and save logcats
13 script will run until killed by an external signal. To test, run the
14 script in a shell and <Ctrl>-C it after a while. It should be
29 # Map from device_id -> (process, logcat_num)
49 error_filter = re.compile('- waiting for device -')
59 process = subprocess.Popen([adb_cmd, '-s', device_id,
60 'logcat', '-v', 'threadtime'],
97 """Monitor adb forever. Expects a SIGINT (Ctrl-C) to kill."""
106 format='%(asctime)-2s %(levelname)-8s %(message)s')
[all …]
/external/pytorch/.github/actions/linux-test/
Daction.yml1 name: linux-test
4 build-environment:
7 description: Top-level label for what's being built/tested.
8 test-matrix:
12 docker-image:
16 sync-tag:
22 job with the same `sync-tag` is identical.
23 use-gha:
28 dashboard-tag:
32 s3-bucket:
[all …]
/external/mesa3d/.gitlab-ci/common/
Dintel-gpu-freq.sh13 # This is an utility script to manage Intel GPU frequencies.
24 # - gt_max_freq_mhz (enforced maximum freq)
25 # - gt_min_freq_mhz (enforced minimum freq)
26 # - gt_boost_freq_mhz (enforced boost freq)
30 # - gt_RP0_freq_mhz (supported maximum freq)
31 # - gt_RPn_freq_mhz (supported minimum freq)
32 # - gt_RP1_freq_mhz (most efficient freq)
35 # - gt_act_freq_mhz (the actual GPU freq)
36 # - gt_cur_freq_mhz (the last requested freq)
38 # Also note that in addition to GPU management, the script offers the
[all …]
/external/ot-br-posix/script/
D_dhcpv6_pd30 # This script manipulates DHCPv6-PD configuration.
56 …k || test "$PLATFORM" = raspbian || test "$PLATFORM" = ubuntu || die "DHCPv6-PD is not tested unde…
96 # A hook script is provided to lookup the hostname if not set by the DHCP
98 nohook lookup-hostname
118 sudo tee -a ${DHCPCD_CONF} <<EOF
160 # This script notifies about NCP state changes.
163 set -euxo pipefail
165 PID=\$\$
170 echo \${PID} > "/tmp/\${NAME}.pid"
172 if [ -z \${IFACE} ]; then
[all …]
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/activity/
DScriptProcessMonitor.java8 * http://www.apache.org/licenses/LICENSE-2.0
51 * An activity that allows to monitor running scripts.
89 CustomizeWindow.requestCustomTitle(this, "Script Monitor", R.layout.script_monitor); in onCreate()
126 final InterpreterProcess script = (InterpreterProcess) list.getItemAtPosition(position); in onListItemClick() local
128 intent.putExtra(Constants.EXTRA_PROXY_PORT, script.getPort()); in onListItemClick()
147 InterpreterProcess script = mAdapter.getItem(info.position); in onContextItemSelected() local
148 if (script == null) { in onContextItemSelected()
149 Log.v("No script selected."); in onContextItemSelected()
154 intent.putExtra(Constants.EXTRA_PROXY_PORT, script.getPort()); in onContextItemSelected()
244 ((TextView) itemView.findViewById(R.id.process_status)).setText("PID " + process.getPid()); in getView()
/external/chromium-trace/catapult/devil/devil/android/tools/
Ddevice_monitor.py3 # Use of this source code is governed by a BSD-style license that can be
5 """Launches a daemon to monitor android device temperatures & status.
7 This script will repeatedly poll the given devices for their temperatures and
40 'CPU-therm',
131 'grep -lE "%s" /sys/class/thermal/thermal_zone*/type' %
140 temp = float(device.ReadFile(f[:-4] + 'temp').strip()) # s/type^/temp
197 """Launches the device monitor.
203 parser = argparse.ArgumentParser(description='Launches the device monitor.')
205 parser.add_argument('--denylist-file', help='Path to device denylist file.')
221 logging.info('Device monitor running with pid %d, adb: %s, denylist: %s',
[all …]
/external/python/cpython3/Doc/howto/
Dinstrumentation.rst1 .. highlight:: shell-session
14 domain-specific languages allowing a user to write scripts which:
16 - filter which processes are to be observed
17 - gather data from the processes of interest
18 - generate reports on the data
21 known as "probes", that can be observed by a DTrace or SystemTap script,
22 making it easier to monitor what the CPython processes on a system are
25 .. impl-detail::
34 ---------------------------
36 macOS comes with built-in support for DTrace. On Linux, in order to
[all …]
/external/cronet/tot/testing/
Dxvfb.py3 # Use of this source code is governed by a BSD-style license that can be
30 # pylint: disable=useless-object-inheritance
66 def launch_dbus(env): # pylint: disable=inconsistent-return-statements
70 async-signal-safe (in particular, memory allocations) between fork and exec
84 Returns the pid of the dbus-daemon if started, or None otherwise.
89 dbus_output = subprocess.check_output(['dbus-launch'],
90 env=env).decode('utf-8').split('\n')
119 stdoutfile: If provided, symbolization via script is disabled and stdout
132 # It might seem counterintuitive to support a --no-xvfb flag in a script
135 # this script by default and don't have to worry about the distinction, it
[all …]
/external/cronet/stable/testing/
Dxvfb.py3 # Use of this source code is governed by a BSD-style license that can be
30 # pylint: disable=useless-object-inheritance
66 def launch_dbus(env): # pylint: disable=inconsistent-return-statements
70 async-signal-safe (in particular, memory allocations) between fork and exec
84 Returns the pid of the dbus-daemon if started, or None otherwise.
89 dbus_output = subprocess.check_output(['dbus-launch'],
90 env=env).decode('utf-8').split('\n')
119 stdoutfile: If provided, symbolization via script is disabled and stdout
132 # It might seem counterintuitive to support a --no-xvfb flag in a script
135 # this script by default and don't have to worry about the distinction, it
[all …]
/external/bcc/tools/
Dtrace_example.txt12 PID COMM FUNC -
41 PID COMM FUNC -
57 # trace 'do_sys_open "%s", arg2@user' -UK -f temp
58 PID TID COMM FUNC -
63 __open_nocancel+0x7 [libc-2.17.so]
64 __libc_start_main+0xf5 [libc-2.17.so]
69 __open_nocancel+0x7 [libc-2.17.so]
70 __libc_start_main+0xf5 [libc-2.17.so]
74 # trace 'do_sys_open "%s", arg2@user' -UK -n out
75 PID TID COMM FUNC -
[all …]
Dtrace.py6 # usage: trace [-h] [-p PID] [-L TID] [-v] [-Z STRING_SIZE] [-S] [-c cgroup_path]
7 # [-M MAX_EVENTS] [-s SYMBOLFILES] [-T] [-t] [-K] [-U] [-a] [-I header]
8 # [-A]
39 tgid = -1
40 pid = -1 variable in Probe
41 uid = -1
58 cls.tgid = args.tgid or -1
59 cls.pid = args.pid or -1
60 cls.uid = args.uid or -1
66 raise ValueError("-M/--max-events should be specified"
[all …]
/external/chromium-crossbench/crossbench/
Denv.py2 # Use of this source code is governed by a BSD-style license that can be
29 right: Optional[bool]) -> Optional[bool]:
44 right: Optional[Number]) -> Optional[Number]:
54 right: Optional[Number]) -> Optional[Number]:
64 right: Optional[List[str]]) -> Optional[List[str]]:
90 def merge(self, other: HostEnvironmentConfig) -> HostEnvironmentConfig:
163 enforce: Tries to auto-enforce conditions and warns about others.
165 fail: Fast-fail on mismatch
194 def platform(self) -> Platform:
198 def repetitions(self) -> int:
[all …]
/external/skia/platform_tools/android/bin/linux/
Dperfhost ... s': not a documentation directory. perf help [--all] [--man|-- ...
/external/rust/android-crates-io/crates/gdbstub/
DREADME.md5 [![](https://img.shields.io/badge/license-MIT%2FApache-blue.svg)](./LICENSE)
7-to-integrate implementation of the [GDB Remote Serial Protocol](https://sourceware.org/gdb/online…
11-overhead-protocol-extensions) (IDETs) to expose fine-grained, zero-cost control over enabled GDB …
15 - [Documentation (gdbstub)](https://docs.rs/gdbstub)
16 - [Documentation (gdbstub_arch)](https://docs.rs/gdbstub_arch)
17 - [Changelog](CHANGELOG.md)
18 - [0.5 to 0.6 Transition Guide](docs/transition_guide.md)
22 - **Excellent Ergonomics**
23- Instead of simply exposing the underlying GDB protocol "warts and all", `gdbstub` tries to abs…
24- Instead of having to dig through [obscure XML files deep the GDB codebase](https://github.com/…
[all …]

123