/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_affinity.cpp | 2 * kmp_affinity.cpp -- affinity management 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 62 return __kmp_topology->restrict_to_mask(mask); in restrict_to_mask() 67 __kmp_get_affinity_env_var(const kmp_affinity_t &affinity, in __kmp_get_affinity_env_var() argument 69 if (affinity.flags.omp_places) { in __kmp_get_affinity_env_var() 74 return affinity.env_var; in __kmp_get_affinity_env_var() 80 // The test below is true if affinity is available, but set to "none". Need to in __kmp_get_hierarchy() 92 thr_bar->depth = depth; in __kmp_get_hierarchy() [all …]
|
H A D | kmp_affinity.h | 2 * kmp_affinity.h -- header for affinity management 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 30 this->zero(); in Mask() 40 hwloc_bitmap_copy(mask, convert->mask); in copy() 44 hwloc_bitmap_and(mask, mask, convert->mask); in bitwise_and() 48 hwloc_bitmap_or(mask, mask, convert->mask); in bitwise_or() 53 return hwloc_bitmap_isequal(mask, convert->mask); in is_equal() 56 int end() const override { return -1; } in end() [all …]
|
H A D | kmp_ftn_entry.h | 2 * kmp_ftn_entry.h -- Fortran entry linkage support for OpenMP. 5 //===-------- [all...] |
H A D | kmp_settings.cpp | 2 * kmp_settings.cpp -- Initialize environment variables 5 //===----------------------------------------------------------------------===// 9 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 11 //===----------------------------------------------------------------------===// 29 #include "ompd-specific.h" 34 bool __kmp_env_format = 0; // 0 - old format; 1 - new format 36 // ----------------------------------------------------------------------------- 78 ca -= 'a' - 'A'; in __kmp_match_with_sentinel() 80 cb -= 'a' - 'A'; in __kmp_match_with_sentinel() 124 ct -= 'a' - 'A'; in __kmp_match_str() [all …]
|
/freebsd/lib/libomp/ |
H A D | kmp_i18n_default.inc | 2 // The file was generated from en_US.txt by message-converter.py on Sat Jul 27 14:17:03 2024. // 142 "Real-time scheduling policy is not supported.", 143 "OMP application is running at maximum priority with real-time scheduling policy. ", 180 "%1$s: proclist not specified with explicit affinity type, using \"none\".", 181 "%1$s: proclist specified, setting affinity type to \"explicit\".", 182 "%1$s: proclist specified without \"explicit\" affinity type, proclist ignored.", 183 "%1$s: syntax error, not using affinity.", 184 "%1$s: range error (zero stride), not using affinity.", 185 "%1$s: range error (%2$d > %3$d), not using affinity.", 186 "%1$s: range error (%2$d < %3$d & stride < 0), not using affinity.", [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/ |
H A D | Threading.inc | 1 //===- Windows/Threading.inc - Win32 Threading Implementation - -*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 70 DWORD dwThreadId; // Thread ID (-1 == current thread) 100 // you "set" the name, you are only firing a one-time message to a debugger 109 …// https://docs.microsoft.com/en-us/windows/desktop/api/processthreadsapi/nf-processthreadsapi-set… 131 uint64_t Affinity; 152 Curr->Size)) { 153 if (Curr->Relationship != Relationship) [all …]
|
/freebsd/contrib/llvm-project/openmp/runtime/src/i18n/ |
H A D | en_US.txt | 4 #//===---------- [all...] |
/freebsd/sys/arm/arm/ |
H A D | pmu_fdt.c | 1 /*- 6 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) 45 {"arm,armv8-pmuv3", 1}, 46 {"arm,cortex-a77-pmu", 1}, 47 {"arm,cortex-a76-pmu", 1}, 48 {"arm,cortex-a75-pmu", 1}, 49 {"arm,cortex-a73-pmu", 1}, 50 {"arm,cortex-a72-pmu", 1}, 51 {"arm,cortex-a65-pmu", 1}, 52 {"arm,cortex-a57-pmu", 1}, [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/ |
H A D | apple,aic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/apple,aic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hector Martin <marcan@marcan.st> 19 - Level-triggered hardware IRQs wired to SoC blocks 20 - Single mask bit per IRQ 21 - Per-IRQ affinity setting 22 - Automatic masking on event delivery (auto-ack) 23 - Software triggering (ORed with hw line) [all …]
|
H A D | apple,aic2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/apple,aic2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Hector Martin <marcan@marcan.st> 18 - Level-triggered hardware IRQs wired to SoC blocks 19 - Single mask bit per IRQ 20 - Automatic masking on event delivery (auto-ack) 21 - Software triggering (ORed with hw line) 22 - Automatic prioritization (single event/ack register per CPU, lower IRQs = [all …]
|
H A D | arm,gic-v3.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/arm,gic-v3.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marc Zyngier <maz@kernel.org> 15 Software Generated Interrupts (SGI), and Locality-specific Peripheral 19 - $ref: /schemas/interrupt-controller.yaml# 24 - items: 25 - enum: 26 - qcom,msm8996-gic-v3 [all …]
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/i86xpv/xdt/ |
H A D | tst.schedargs.ksh | 32 echo expected one argument: '<'dtrace-path'>' 39 if [ ! -c /dev/xen/privcmd ]; then 48 $dtrace -c 'sleep 10' -o $outf -qs /dev/stdin <<EOF 49 xdt:sched::off-cpu, 50 xdt:sched::on-cpu, 66 while (("/usr/sbin/xm vcpu-list" | getline)) { 73 split($7, affinity, ",") 74 for (i in affinity) { 75 if (split(affinity[i], p, "-") > 1) { 83 affinity[i]] = 1
|
/freebsd/contrib/llvm-project/llvm/lib/Support/Unix/ |
H A D | Threading.inc | 1 //===- Unix/Threading.inc - Unix Threading Implementation ----- -*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 175 NameStr = NameStr.take_back(get_max_thread_name_length() - 1); 257 // http://man7.org/linux/man-pages/man3/pthread_setschedparam.3.html 258 // http://man7.org/linux/man-pages/man2/sched_setscheduler.2.html 260 // For each of the above policies, param->sched_priority must be 0. 263 // SCHED_OTHER the standard round-robin time-sharing policy; 272 …// https://developer.apple.com/documentation/apple-silicon/tuning-your-code-s-performance-for-appl… [all …]
|
/freebsd/share/man/man3/ |
H A D | pthread_np.3 | 41 .Bl -bullet -offset indent -compact 54 .\" Per-Thread Context Routines 58 .Bl -tag -width indent 65 Get the CPU affinity of a specified thread. 90 Sets the thread's scheduling mode to multi-threaded. 107 Set the CPU affinity of a specified thread. 122 Sets the thread's scheduling mode to single-threaded. 154 .Bl -tag -width indent 168 Get the CPU affinity mask from the thread attribute object. 175 Set the CPU affinity mask for the thread attribute object. [all …]
|
/freebsd/lib/libsys/ |
H A D | cpuset.2 | 34 .Nd manage CPU affinity sets 57 per-thread mask to bind to a specific CPU or subset of CPUs and memory domains. 66 assignable on a per-process basis. 69 The anonymous set is a further thread-specific refinement on the assigned 83 .Bl -column CPU_LEVEL_CPUSET -offset indent 98 .Bl -column CPU_WHICH_INTRHANDLER -offset indent 112 of '-1' may be used with a 191 .Rv -std 206 .Bd -literal -offset indent 218 /* Set affinity for the CPU set for the current process. */ [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/ |
H A D | pmu.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Mark Rutland <mark.rutland@arm.com> 11 - Will Deacon <will.deacon@arm.com> 16 representation in the device tree should be done as under:- 21 - enum: 22 - apm,potenza-pmu 23 - apple,avalanche-pmu 24 - apple,blizzard-pmu [all …]
|
/freebsd/sys/contrib/dev/acpica/include/ |
H A D | actbl3.h | 3 * Name: actbl3.h - ACPI Table Definitions 11 * Some or all of this work - Copyright (c) 1999 - 2024, Intel Corp. 28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 104 * re-exports any such software from a foreign destination, Licensee shall 105 * ensure that the distribution and export/re-export of the software is in 108 * any of its subsidiaries will export/re-export any technical data, process, 130 * 3. Neither the names of the above-listed copyright holders nor the names 175 #define ACPI_SIG_SRAT "SRAT" /* System Resource Affinity Table */ 191 * All tables must be byte-packed to match the ACPI specification, since 201 * essentially useless for dealing with packed data in on-disk formats or [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/apple/ |
H A D | t6001.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/interrupt-controller/apple-aic.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/pinctrl/apple.h> 15 #include "multi-die-cpp.h" 17 #include "t600x-common.dtsi" 20 compatible = "apple,t6001", "apple,arm-platform"; 23 compatible = "simple-bus"; 24 #address-cells = <2>; [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | Threading.h | 1 //===-- llvm/Support/Threading.h - Control multithreading mode --*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 9 // This file declares helper functions for running LLVM in a multi-threaded 12 //===----------------------------------------------------------------------===// 19 #include "llvm/Config/llvm-config.h" // for LLVM_ON_UNIX 51 /// Returns true if LLVM is compiled with support for multi-threading, and 119 // taking the affinity mask into account. If set, this value only represents 133 /// accounts for affinity masks and takes advantage of all CPU sockets. 137 /// multi-socket system, this ensures threads are assigned to all CPU [all …]
|
/freebsd/sys/contrib/xen/ |
H A D | sched.h | 45 * @arg == Operation-specific extra argument(s), as described below. 46 * ... == Additional Operation-specific extra arguments, described below. 80 * x86 PV guests must also set RDX (EDX for 32-bit guests) to the MFN 91 * Poll a set of event-channel ports. Return when one or more are pending. An 99 * in interpreting shutdown requests and reasons for fully-virtualized 100 * domains. A para-virtualized domain may use SCHEDOP_shutdown directly. 123 * Override the current vcpu affinity by pinning it to one physical cpu or 124 * undo this override restoring the previous affinity. 128 * previous cpu affinity. 197 * c-file-style: "BSD" [all …]
|
H A D | domctl.h | 24 * Copyright (c) 2002-2003, B Dragovic 25 * Copyright (c) 2002-2006, K Fraser 46 * an id is auto-allocated and returned. 56 /* Use hardware-assisted paging if available? */ 62 /* Disable out-of-sync shadow page tables? */ 106 /* Per-vCPU buffer size in bytes. 0 to disable. */ 144 /* XEN_DOMINF_shutdown guest-supplied code. */ 180 #define XEN_DOMCTL_PFINFO_XALLOC (0xeU<<28) /* allocate-only page */ 208 /* Log-dirty bitmap operations. */ 232 * operations nor write-protect its pagetables. [all …]
|
/freebsd/sys/net/ |
H A D | netisr.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2007-2009 Robert N. M. Watson 5 * Copyright (c) 2010-2011 Juniper Networks, Inc. 49 * a value 0 < proto < 32; we currently further limit at compile-time to 16 50 * for array-sizing purposes. 58 #define NETISR_IP_DIRECT 9 /* direct-dispatch IPv4 */ 59 #define NETISR_IPV6_DIRECT 10 /* direct-dispatch IPv6 */ 62 * Protocol ordering and affinity policy constants. See the detailed 81 * Three sysctls are defined. First, a per-protocol structure exported by [all …]
|
/freebsd/sys/contrib/dev/acpica/common/ |
H A D | dmtbinfo3.c | 3 * Module Name: dmtbinfo3 - Table info for non-AML tables 11 * Some or all of this work - Copyright (c) 1999 - 2024, Intel Corp. 28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 104 * re-exports any such software from a foreign destination, Licensee shall 105 * ensure that the distribution and export/re-export of the software is in 108 * any of its subsidiaries will export/re-export any technical data, process, 130 * 3. Neither the names of the above-listed copyright holders nor the names 157 /* This module used for application-level code only */ 165 * - Add the C table definition to the actbl1.h or actbl2.h header. 166 * - Add ACPI_xxxx_OFFSET macro(s) for the table (and subtables) to list below. [all …]
|
/freebsd/sys/fs/nfsserver/ |
H A D | nfs_fha_new.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 61 "NFS File Handle Affinity (FHA)"); 66 "Enable NFS File Handle Affinity (FHA)"); 113 snprintf(softc->server_name, sizeof(softc->server_name), in fhanew_init() 117 mtx_init(&softc->fha_hash[i].mtx, "fhalock", NULL, MTX_DEF); in fhanew_init() 140 mtx_destroy(&softc->fha_hash[i].mtx); in fhanew_uninit() 148 return (-1); in fhanew_get_procnum() 166 nd->nd_md = *md; in fhanew_get_fh() 167 nd->nd_dpos = *dpos; in fhanew_get_fh() [all …]
|
/freebsd/lib/libc/tests/sys/ |
H A D | cpuset_test.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2020-2021 Kyle Evans <kevans@FreeBSD.org> 41 #include <atf-c.h> 91 return ("Unexpected post-attach affinity"); in do_jail_errstr() 105 -1, sizeof(*mask), mask)); in skip_ltncpu() 120 ATF_REQUIRE_EQ(0, cpuset_getid(CPU_LEVEL_CPUSET, CPU_WHICH_TID, -1, in ATF_TC_BODY() 128 ATF_REQUIRE_EQ(0, cpuset_getid(CPU_LEVEL_CPUSET, CPU_WHICH_TID, -1, in ATF_TC_BODY() 143 ATF_REQUIRE_EQ(0, cpuset_getid(CPU_LEVEL_CPUSET, CPU_WHICH_PID, -1, in ATF_TC_BODY() 154 ATF_REQUIRE_EQ(0, cpuset_setid(CPU_WHICH_PID, -1, isetid)); in ATF_TC_BODY() [all …]
|