/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
smt_smp_affinity.sh | 23 # Set affinity through system call sched_setaffinity 24 # get affinity through system call sched_getaffinity 25 # Inheritance of Affinity 38 tst_resm TINFO "Begin: SMT/SMP Affinity" 46 tst_resm TINFO "End: SMT/SMP Affinity" 51 tst_resm TINFO "End: SMT/SMP Affinity" 62 tst_resm TINFO "End: SMT/SMP Affinity" 75 tst_resm TINFO "End: SMT/SMP Affinity" 84 tst_resm TINFO "End: SMT/SMP Affinity"
|
ht_affinity.c | 30 pid - pid of the process whose affinity is desired to be set. 35 pid - pid of the process whose affinity is being read. 36 mask_ptr pointer to store the current affinity information. 46 #define AFFINITY_NAME "affinity" 58 tst_resm(TINFO, "Set affinity through system call"); 67 tst_resm(TINFO, "Set test process affinity."); 95 tst_resm(TINFO, "Set test process affinity."); 156 tst_resm(TINFO, "Get affinity through system call"); 201 tst_resm(TINFO, "Inherit affinity:fork failed!"); 207 tst_resm(TINFO, "Inherited affinity from parent process") [all...] |
/device/linaro/bootloader/arm-trusted-firmware/services/std_svc/psci/ |
psci_setup.c | 51 * In a system, a certain number of affinity instances are present at an 52 * affinity level. The cumulative number of instances across all levels are 54 * array. To retrieve nodes, information about the extents of each affinity 67 * Routines for retrieving the node corresponding to an affinity level instance 69 * to the mpidr (key) at a particular affinity level. The second routine decides 70 * extents of the binary search at each affinity level. 93 * 'psci_aff_map' for a given affinity level are stored in an ascending 113 /* Right shift the mpidr to the required affinity level */ 127 * affinity levels in an mpidr. It returns successfully only when the affinity [all...] |
psci_afflvl_off.c | 41 * The next three functions implement a handler for each supported affinity 42 * level which is called when that affinity level is turned off. 100 * at this affinity level 113 * This function takes an array of pointers to affinity instance nodes in the 114 * topology tree and calls the off handler for the corresponding affinity 135 * It's assumed that along with turning the cpu off, higher affinity levels will 136 * be turned off as far as possible. It traverses through all the affinity 143 * The state of all the relevant affinity levels is changed prior to calling the 144 * affinity level specific handlers as their actions would depend upon the state 145 * the affinity level is about to enter [all...] |
psci_common.c | 50 * management of affinity instances. Each node (aff_map_node) in the array 51 * corresponds to an affinity instance e.g. cluster, cpu within an mpidr 65 * This function is passed an array of pointers to affinity level nodes in the 67 * affinity level which is marked as physically powered off. 120 * This function saves the highest affinity level which is in OFF state. The 121 * affinity instance with which the level is associated is determined by the 139 * This function reads the saved highest affinity level which is in OFF 140 * state. The affinity instance with which the level is associated is determined 157 * Routine to return the maximum affinity level to traverse to after a cpu has 183 * Assume that this cpu was suspended and retrieve its target affinity [all...] |
psci_afflvl_on.c | 130 /* Cannot go beyond affinity level 2 in this psci imp. */ 160 * This function takes an array of pointers to affinity instance nodes in the 161 * topology tree and calls the on handler for the corresponding affinity 180 * affinity levels. 193 * its mpidr. It traverses through all the affinity levels performing generic, 198 * The state of all the relevant affinity levels is changed after calling the 199 * affinity level specific handlers as their actions would depend upon the state 200 * the affinity level is currently in. 202 * The affinity level specific handlers are called in descending order i.e. from 203 * the highest to the lowest affinity level implemented by the platform becaus [all...] |
psci_afflvl_suspend.c | 57 * This function gets the affinity level till which the current cpu could be 103 * The next three functions implement a handler for each supported affinity 104 * level which is called when that affinity level is about to be suspended. 151 * beyond affinity level 0 but one never knows what a platform might 185 * at this affinity level 190 * beyond affinity level 0 but one never knows what a 208 * This function takes an array of pointers to affinity instance nodes in the 209 * topology tree and calls the suspend handler for the corresponding affinity 230 * It is assumed that along with turning the cpu off, higher affinity levels 231 * until the target affinity level will be turned off as well. It traverse [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/fvp/ |
fvp_topology.c | 37 /* We treat '255' as an invalid affinity instance */ 43 * of 2 clusters (affinity 1) and 4 cpus (affinity 0) per cluster. So we define 45 * marks the absent affinity level instances as PSCI_AFF_ABSENT e.g. there is no 57 * is a separate array for each affinity level i.e. cpus and clusters. The child 69 * topology. psci queries the platform to determine how many affinity instances 74 * This is 'cause we are effectively asking how many affinity level 1 instances 75 * are implemented under affinity level 2 instance 0. 89 * Assert if the parent affinity instance is not 0. 97 * affinity levels 2 & 3 which are AFF_ABSEN [all...] |
fvp_pm.c | 94 * should be performed for the specified affinity instance given its 96 * the highest affinity level which will enter the 'state'. 108 * Find the highest affinity level which will be suspended and postpone 120 * FVP handler called when an affinity instance is about to enter standby. 133 * FVP handler called when an affinity instance is about to be turned on. The 134 * level and mpidr determine the affinity instance. 145 * It's possible to turn on only affinity level 0 i.e. a cpu 146 * on the FVP. Ignore any other affinity level. 169 * FVP handler called when an affinity instance is about to be turned off. The 170 * level and mpidr determine the affinity instance. The 'state' arg. allows th [all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/juno/ |
plat_pm.c | 61 * should be performed for the specified affinity instance given its 63 * the highest affinity level which will enter the 'state'. 75 * Find the highest affinity level which will be suspended and postpone 95 * It's possible to enter standby only on affinity level 0 i.e. 96 * a cpu on the Juno. Ignore any other affinity level. 113 * Juno handler called when an affinity instance is about to be turned on. The 114 * level and mpidr determine the affinity instance. 122 * SCP takes care of powering up higher affinity levels so we 140 * Juno handler called when an affinity instance has just been powered on after 141 * being turned off earlier. The level and mpidr determine the affinity [all...] |
/external/toybox/toys/other/ |
taskset.c | 1 /* taskset.c - Retrieve or set the CPU affinity of a process. 25 the processor affinity of an exisitng PID. 28 is allowed to run on. PID without a mask displays existing affinity. 30 -p Set/get the affinity of given PID instead of a new command. 31 -a Set/get the affinity of all threads of the PID. 49 char *s = *toys.optargs, *failed = "failed to %s %d's affinity"; 59 printf("pid %d's %s affinity mask: ", pid, i ? "new" : "current");
|
/frameworks/base/services/core/java/com/android/server/notification/ |
ValidateNotificationPeople.java | 73 * Affinity will be equal to or greater than this value on notifications 79 * Affinity will be equal to or greater than this value on notifications 150 * @param timeoutAffinity affinity to return when the timeout specified via 155 if (DEBUG) Slog.d(TAG, "checking affinity for " + userHandle); 165 float affinity = affinityOut[0]; local 181 Slog.w(TAG, "Timeout while waiting for affinity: " + key + ". " 186 Slog.w(TAG, "InterruptedException while waiting for affinity: " + key + ". " 187 + "Returning affinity=" + affinity, e); 188 return affinity; 216 final float affinity = affinityOut[0]; local 230 float affinity = NONE; local [all...] |
/external/ltp/testcases/kernel/hotplug/memory_hotplug/ |
TODO | 14 + cpu affinity for testing default policy and migration
|
/cts/hostsidetests/services/activityandwindowmanager/activitymanager/app/src/android/server/cts/ |
PipActivityWithSameAffinity.java | 23 * An activity that can enter PiP with a fixed affinity to match
|
/packages/apps/Camera2/src/com/android/camera/ |
CaptureActivity.java | 20 // task affinity from others. This makes sure the regular camera activity is not
|
SecureCameraActivity.java | 20 // task affinity from others. This makes sure non-secure camera activity is not
|
/external/ltp/testcases/kernel/hotplug/cpu_hotplug/doc/ |
hotplug01.txt | 7 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.
|
/device/linaro/bootloader/arm-trusted-firmware/drivers/arm/gic/ |
gic_v3.c | 41 /* Construct the affinity as used by GICv3. MPIDR and GIC affinity level
|
/external/swiftshader/src/Common/ |
CPUID.hpp | 58 static int affinity; member in class:sw::CPUID 129 return affinity;
|
/device/linaro/bootloader/arm-trusted-firmware/include/bl31/services/ |
psci.h | 38 * Number of affinity instances whose state this psci imp. can track 141 * PSCI affinity state related constants. An affinity instance could be present 174 uint32_t max_phys_off_afflvl; /* Highest affinity level in physically
|
/device/linaro/bootloader/edk2/ArmPkg/Drivers/ArmGic/ |
ArmGicLib.c | 40 UINTN Affinity;
45 // Define CPU affinity as Affinity0[0:8], Affinity1[9:15], Affinity2[16:23], Affinity3[24:32]
60 Affinity = MmioRead64 (GicCpuRedistributorBase + ARM_GICR_TYPER) >> 32;
61 if (Affinity == CpuAffinity) {
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Include/ |
Mcfg.h | 47 // "MCFG" Static Resource Affinity Table
|
/external/chromium-trace/catapult/devil/docs/ |
persistent_device_list.md | 12 affinity. This is important because the same performance test can yield
|
/external/libchrome/base/threading/ |
thread_task_runner_handle.h | 19 // Prefer SequenceTaskRunnerHandle to this unless thread affinity is required.
|
/external/linux-kselftest/tools/testing/selftests/powerpc/ |
utils.c | 85 printf("No cpus in affinity mask?!\n");
|