HomeSort by relevance Sort by last modified time
    Searched full:cpuset (Results 26 - 50 of 243) sorted by null

12 3 4 5 6 7 8 910

  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_pressure_test/
cpuset_memory_pressure_testset.sh 46 echo 0 > "$CPUSET/memory_pressure_enabled" 2> $CPUSET_TMP/stderr
56 if [ $(cat "$CPUSET/memory_pressure") -ne 0 ]; then
65 echo 0 > "$CPUSET/memory_pressure_enabled" 2> $CPUSET_TMP/stderr
77 if [ $(cat "$CPUSET/memory_pressure") -ne 0 ]; then
86 echo 1 > "$CPUSET/memory_pressure_enabled" 2> $CPUSET_TMP/stderr
93 cpuset_set "$CPUSET/sub_cpuset" "0" "0" "0" 2> $CPUSET_TMP/stderr
103 if [ $(cat "$CPUSET/memory_pressure") -ne 0 ]; then
107 if [ $(cat "$CPUSET/sub_cpuset/memory_pressure") -ne 0 ]; then
117 echo 1 > "$CPUSET/memory_pressure_enabled" 2> $CPUSET_TMP/stderr
124 cpuset_set "$CPUSET/sub_cpuset" "0" "0" "0" 2> $CPUSET_TMP/stder
    [all...]
  /external/google-breakpad/src/client/linux/minidump_writer/
cpu_set_unittest.cc 59 CpuSet set;
67 CpuSet set;
76 CpuSet set;
85 CpuSet set;
94 CpuSet set;
103 CpuSet set;
112 CpuSet set;
120 CpuSet set1;
126 CpuSet set2;
138 CpuSet set1
    [all...]
  /external/autotest/client/tests/monotonic_time/src/
Makefile 8 SRCS= time_test.c cpuset.c threads.c logging.c
9 HDRS= spinlock.h cpuset.h threads.h logging.h
  /external/ltp/testcases/kernel/mem/oom/
oom04.c 2 * Out Of Memory (OOM) for CPUSET
44 tst_res(TINFO, "OOM on CPUSET...");
49 * Under NUMA system, the migration of cpuset's memory
50 * is in charge of cpuset.memory_migrate, we can write
51 * 1 to cpuset.memory_migrate to enable the migration.
54 tst_res(TINFO, "OOM on CPUSET with mem migrate:");
69 mount_mem("cpuset", "cpuset", NULL, CPATH, CPATH_NEW);
oom05.c 2 * Out Of Memory (OOM) for MEMCG and CPUSET
46 tst_res(TINFO, "OOM on CPUSET & MEMCG...");
50 * Under NUMA system, the migration of cpuset's memory
51 * is in charge of cpuset.memory_migrate, we can write
52 * 1 to cpuset.memory_migrate to enable the migration.
56 tst_res(TINFO, "OOM on CPUSET & MEMCG with "
57 "cpuset.memory_migrate=1");
70 tst_res(TINFO, "OOM on CPUSET & MEMCG with "
75 tst_res(TINFO, "OOM on CPUSET & MEMCG with "
93 mount_mem("cpuset", "cpuset", NULL, CPATH, CPATH_NEW)
    [all...]
  /system/core/logd/
logd.rc 9 writepid /dev/cpuset/system-background/tasks
16 writepid /dev/cpuset/system-background/tasks
  /system/sepolicy/prebuilts/api/26.0/public/
performanced.te 17 # Access /dev/cpuset/cpuset.cpus
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_memory_test/
cpuset_memory_testset.sh 50 # $2 - move cpuset_memory_test's pid to this cpuset
66 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stderr
74 simple_getresult $! "$CPUSET/0"
83 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stderr
91 simple_getresult $! "$CPUSET/0"
100 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stderr
108 simple_getresult $! "$CPUSET/0"
117 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stderr
125 simple_getresult $! "$CPUSET/0"
134 cpuset_set "$CPUSET/0" "$cpu_of_node0" "0" "0" 2> $CPUSET_TMP/stder
    [all...]
  /frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
android.hardware.drm@1.1-service.clearkey.rc 6 writepid /dev/cpuset/foreground/tasks
  /frameworks/native/cmds/servicemanager/
servicemanager.rc 16 writepid /dev/cpuset/system-background/tasks
  /hardware/google/av/codec2/hidl/services/
hardware.google.media.c2@1.0-service.rc 6 writepid /dev/cpuset/foreground/tasks
  /hardware/interfaces/biometrics/fingerprint/2.1/default/
android.hardware.biometrics.fingerprint@2.1-service.rc 8 writepid /dev/cpuset/system-background/task
  /hardware/interfaces/camera/provider/2.4/default/
android.hardware.camera.provider@2.4-external-service.rc 7 writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks
android.hardware.camera.provider@2.4-service.rc 7 writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks
android.hardware.camera.provider@2.4-service_64.rc 7 writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks
  /system/core/debuggerd/tombstoned/
tombstoned.rc 11 writepid /dev/cpuset/system-background/tasks
  /system/update_engine/
update_engine.rc 5 writepid /dev/cpuset/system-background/tasks
  /system/vold/
vold.rc 6 writepid /dev/cpuset/foreground/tasks
  /bionic/benchmarks/
util.cpp 75 cpu_set_t cpuset; local
77 CPU_ZERO(&cpuset);
78 if (sched_getaffinity(0, sizeof(cpuset), &cpuset) != 0) {
86 if (CPU_ISSET(i, &cpuset)) {
90 } else if (!CPU_ISSET(cpu_to_lock, &cpuset)) {
100 CPU_ZERO(&cpuset);
101 CPU_SET(cpu_to_lock, &cpuset);
102 if (sched_setaffinity(0, sizeof(cpuset), &cpuset) != 0)
    [all...]
  /external/ltp/testcases/kernel/controllers/cpuset/
README 4 The directory cpuset contains the tests related to the cpuset controller.
6 Cpuset is a mechanism for assigning a set of CPUs and Memory Nodes to a set of
11 cpuset, such as: adding/removing cpus/mems, setting flags, exclusive function,
12 hierarchy relation, inherit relation, cpuset VS syscall and so on
19 The aim of the tests is to test the functionality of cpuset.
26 operation of cpuset. such as: adding/removing cpus/mems, setting flags.
31 function of cpuset.
36 of cpuset.
41 syscalls whether they collide with cpuset
    [all...]
cpuset_regression_test.sh 46 # We need to mount cpuset if it is not found.
48 grep -w cpuset /proc/mounts > tmpfile
56 ROD_SILENT mount -t cpuset cpuset ${root_cpuset_dir}
61 if [ -f ${root_cpuset_dir}/cpuset.cpu_exclusive ]; then
62 cpu_exclusive=cpuset.cpu_exclusive
63 cpus=cpuset.cpus
68 tst_brkm TBROK "Both cpuset.cpu_exclusive and cpu_exclusive" \
116 # Creat an exclusive cpuset.
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_base_ops_test/
cpuset_base_ops_testset.sh 108 base_op_test "$CPUSET/1/cpus" "$cpus" "$result"
127 base_op_test "$CPUSET/1/cpus" "0,1-$((nr_cpus-2)),$((nr_cpus-1))" "0-$((nr_cpus-1))"
128 base_op_test "$CPUSET/1/cpus" "0,1-$((nr_cpus-2))," "0-$((nr_cpus-2))"
132 base_op_test "$CPUSET/1/cpus" "0-" "WRITE_ERROR"
134 base_op_test "$CPUSET/1/cpus" "0-" "0"
143 base_op_test "$CPUSET/1/mems" "$mems" "$result"
162 base_op_test "$CPUSET/1/mems" "0,1-$((nr_mems-2)),$((nr_mems-1))" "0-$((nr_mems-1))"
163 base_op_test "$CPUSET/1/mems" "0,1-$((nr_mems-2))," "0-$((nr_mems-2))"
167 base_op_test "$CPUSET/1/mems" "0-" "WRITE_ERROR"
169 base_op_test "$CPUSET/1/mems" "0-" "0
    [all...]
  /external/strace/tests/
sched_xetaffinity.c 80 cpu_set_t *cpuset = tail_alloc(cpuset_size); local
81 getaffinity(pid, cpuset_size, cpuset + 1);
83 pid, cpuset_size, cpuset + 1, errstr);
85 int ret_size = getaffinity(pid, cpuset_size, cpuset);
88 pid, (unsigned) cpuset_size, cpuset, errstr);
95 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) {
103 CPU_ZERO_S(cpuset_size, cpuset);
104 CPU_SET_S(cpu, cpuset_size, cpuset);
105 if (setaffinity(pid, cpuset_size, cpuset))
111 cpuset = tail_alloc(big_size)
    [all...]
  /external/strace/tests-m32/
sched_xetaffinity.c 80 cpu_set_t *cpuset = tail_alloc(cpuset_size); local
81 getaffinity(pid, cpuset_size, cpuset + 1);
83 pid, cpuset_size, cpuset + 1, errstr);
85 int ret_size = getaffinity(pid, cpuset_size, cpuset);
88 pid, (unsigned) cpuset_size, cpuset, errstr);
95 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) {
103 CPU_ZERO_S(cpuset_size, cpuset);
104 CPU_SET_S(cpu, cpuset_size, cpuset);
105 if (setaffinity(pid, cpuset_size, cpuset))
111 cpuset = tail_alloc(big_size)
    [all...]
  /external/strace/tests-mx32/
sched_xetaffinity.c 80 cpu_set_t *cpuset = tail_alloc(cpuset_size); local
81 getaffinity(pid, cpuset_size, cpuset + 1);
83 pid, cpuset_size, cpuset + 1, errstr);
85 int ret_size = getaffinity(pid, cpuset_size, cpuset);
88 pid, (unsigned) cpuset_size, cpuset, errstr);
95 if (CPU_ISSET_S(i, (unsigned) ret_size, cpuset)) {
103 CPU_ZERO_S(cpuset_size, cpuset);
104 CPU_SET_S(cpu, cpuset_size, cpuset);
105 if (setaffinity(pid, cpuset_size, cpuset))
111 cpuset = tail_alloc(big_size)
    [all...]

Completed in 877 milliseconds

12 3 4 5 6 7 8 910