Home
last modified time | relevance | path

Searched refs:affinity (Results 1 – 25 of 57) sorted by relevance

123

/external/linux-kselftest/tools/testing/selftests/rseq/
Dbasic_test.c18 cpu_set_t affinity, test_affinity; in test_cpu_pointer() local
21 sched_getaffinity(0, sizeof(affinity), &affinity); in test_cpu_pointer()
24 if (CPU_ISSET(i, &affinity)) { in test_cpu_pointer()
35 sched_setaffinity(0, sizeof(affinity), &affinity); in test_cpu_pointer()
/external/grpc-grpc-java/core/src/test/java/io/grpc/
DPickFirstLoadBalancerTest.java65 private Attributes affinity = Attributes.newBuilder().set(FOO, "bar").build(); field in PickFirstLoadBalancerTest
103 loadBalancer.handleResolvedAddressGroups(servers, affinity); in pickAfterResolved()
117 loadBalancer.handleResolvedAddressGroups(servers, affinity); in pickAfterResolvedAndUnchanged()
119 loadBalancer.handleResolvedAddressGroups(servers, affinity); in pickAfterResolvedAndUnchanged()
141 loadBalancer.handleResolvedAddressGroups(servers, affinity); in pickAfterResolvedAndChanged()
147 loadBalancer.handleResolvedAddressGroups(newServers, affinity); in pickAfterResolvedAndChanged()
163 loadBalancer.handleResolvedAddressGroups(servers, affinity); in pickAfterStateChangeAfterResolution()
208 loadBalancer.handleResolvedAddressGroups(servers, affinity); in nameResolutionSuccessAfterError()
250 loadBalancer.handleResolvedAddressGroups(servers, affinity); in requestConnection()
/external/libusb/libusb/os/
Dwindows_nt_common.c301 DWORD_PTR affinity, dummy; in windows_init_clock() local
322 if (!GetProcessAffinityMask(GetCurrentProcess(), &affinity, &dummy) || (affinity == 0)) { in windows_init_clock()
329 for (i = 0; !(affinity & (DWORD_PTR)(1 << i)); i++); in windows_init_clock()
330 affinity = (DWORD_PTR)(1 << i); in windows_init_clock()
348 if (!SetThreadAffinityMask(timer_thread, affinity)) in windows_init_clock()
/external/ltp/testcases/kernel/numa/
DREADME7 to use the numa topology such that we can run an application on a specified node ( node affinity ) …
22 Verifies the node affinity and memory affinity by running the support_numa process which will alloc…
41 Verifies the physical cpu affinity which runs the process support_numa on the specified physical cp…
/external/swiftshader/src/System/
DCPUID.hpp62 static int affinity; member in sw::CPUID
133 return affinity; in processAffinity()
DCPUID.cpp40 int CPUID::affinity = detectAffinity(); member in sw::CPUID
/external/swiftshader/src/Common/
DCPUID.hpp62 static int affinity; member in sw::CPUID
133 return affinity; in processAffinity()
DCPUID.cpp40 int CPUID::affinity = detectAffinity(); member in sw::CPUID
/external/iperf3/src/
Dmain.c79 int affinity = -1; in main() local
90 CPU_SET(affinity, &cpu_set); in main()
Diperf_client_api.c457 if (test->affinity != -1) in iperf_run_client()
458 if (iperf_setaffinity(test, test->affinity) != 0) in iperf_run_client()
Diperf.h261 int affinity, server_affinity; /* -A option */ member
Diperf_server_api.c401 if (test->affinity != -1) in iperf_run_server()
402 if (iperf_setaffinity(test, test->affinity) != 0) in iperf_run_server()
Diperf_config.h.in9 /* Have CPU affinity support. */
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/doc/
Dhotplug01.txt7 affinity to just that CPU, then offline that CPU, and verify that the
15 to be used for the given process, and one for the smp affinity.
/external/iperf3/
DREADME.md77 -A, --affinity n/n,m set CPU affinity
118 -A, --affinity n/n,m set CPU affinity (Linux and FreeBSD only)
Dconfigure.ac158 # Check for CPU affinity support. FreeBSD and Linux do this differently
161 # Define HAVE_CPU_AFFINITY to indicate the CPU affinity setting as a
165 [Have CPU affinity support.]))
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dthreads.cpp267 GROUP_AFFINITY affinity = {}; in bindThread() local
268 affinity.Group = procGroupId; in bindThread()
280 affinity.Mask = 0; in bindThread()
289 affinity.Mask = KAFFINITY(1) << threadId; in bindThread()
293 affinity.Mask = KAFFINITY(0); in bindThread()
297 if (!SetThreadGroupAffinity(GetCurrentThread(), &affinity, nullptr)) in bindThread()
/external/ltp/testcases/kernel/hotplug/memory_hotplug/
DTODO14 + cpu affinity for testing default policy and migration
/external/clang/test/CodeGen/
Ddecl.c71 unsigned char affinity; member
/external/grpc-grpc-java/core/src/test/java/io/grpc/util/
DRoundRobinLoadBalancerTest.java96 private Attributes affinity = Attributes.newBuilder().set(MAJOR_KEY, "I got the keys").build(); field in RoundRobinLoadBalancerTest
146 loadBalancer.handleResolvedAddressGroups(servers, affinity); in pickAfterResolved()
202 loadBalancer.handleResolvedAddressGroups(currentServers, affinity); in pickAfterResolvedUpdatedHosts()
225 loadBalancer.handleResolvedAddressGroups(latestServers, affinity); in pickAfterResolvedUpdatedHosts()
245 affinity); in pickAfterResolvedUpdatedHosts() local
335 loadBalancer.handleResolvedAddressGroups(servers, affinity); in nameResolutionErrorWithActiveChannels()
/external/tensorflow/tensorflow/lite/tools/benchmark/
DREADME.md108 is to set the [CPU affinity](https://en.wikipedia.org/wiki/Processor_affinity)
120 where `f0` is the affinity mask for big cores on Pixel 2.
121 Note: The affinity mask varies with the device.
/external/bcc/tools/
Dcpuunclaimed_example.txt29 - CPU affinity: an optimization that leaves threads on CPUs where the CPU
34 An unclaimed idle of < 1% is likely to be CPU affinity, and not usually a
78 expected to be deliberate: CPU affinity, as mentioned earlier.
/external/tensorflow/tensorflow/lite/g3doc/performance/
Dbenchmarks.md12 For Android benchmarks, the CPU affinity is set to use big cores on the device to
31 Here, `${GRAPH}` is the name of model and `${CPU_MASK}` is the CPU affinity
/external/iperf3/docs/
Dinvoking.rst17 and ``-A`` (``--affinity``) options.
148 -A, --affinity n/n,m
149 Set the CPU affinity, if possible (Linux, FreeBSD, and Windows
151 affinity by using the n form of this argument (where n is a CPU
153 server's affinity for just that one test, using the n,m form of
/external/tensorflow/tensorflow/lite/java/ovic/
DREADME.md140 You can change the length of each experiment, and the processor affinity below.
158 Note: You'll need ROOT access to the phone to change processor affinity.

123