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

1 2 3 4 5 6 7 8 910

  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_hierarchy_test/
cpuset_hierarchy_test.sh 45 echo > "$CPUSET/father/cpus" || return 1
46 echo > "$CPUSET/father/child/cpus" || return 1
48 cpuset_log "father cpus $(cat "$CPUSET/father/cpus")"
49 cpuset_log "child cpus $(cat "$CPUSET/father/child/cpus")"
51 test -z "$(cat "$CPUSET/father/cpus")" || return 1
52 test -z "$(cat "$CPUSET/father/child/cpus")" || return 1
57 echo > "$CPUSET/father/cpus" || return 1
58 echo 0 > "$CPUSET/father/child/cpus" 2> /dev/null && return 1
60 cpuset_log "father cpus $(cat "$CPUSET/father/cpus")"
61 cpuset_log "child cpus $(cat "$CPUSET/father/child/cpus")
    [all...]
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_exclusive_test/
cpuset_exclusive_test.sh 38 echo 0 > "$CPUSET/father/cpu_exclusive" || return 1
39 echo 0 > "$CPUSET/father/child/cpu_exclusive" || return 1
41 test 0 = $(cat "$CPUSET/father/child/cpu_exclusive") || return 1
46 echo 1 > "$CPUSET/father/cpu_exclusive" || return 1
47 echo 0 > "$CPUSET/father/child/cpu_exclusive" || return 1
49 test 0 = $(cat "$CPUSET/father/child/cpu_exclusive") || return 1
54 echo 1 > "$CPUSET/father/cpu_exclusive" || return 1
55 echo 1 > "$CPUSET/father/child/cpu_exclusive" || return 1
57 test 1 = $(cat "$CPUSET/father/child/cpu_exclusive") || return 1
62 echo 0 > "$CPUSET/father/cpu_exclusive" || return
    [all...]
  /frameworks/av/drm/drmserver/
drmserver.rc 5 writepid /dev/cpuset/foreground/tasks
  /frameworks/av/services/mediadrm/
mediadrmserver.rc 6 writepid /dev/cpuset/foreground/tasks
  /frameworks/av/services/mediaextractor/
mediaextractor.rc 6 writepid /dev/cpuset/foreground/tasks
  /frameworks/native/services/vr/virtual_touchpad/
virtual_touchpad.rc 5 writepid /dev/cpuset/system/tasks
  /system/core/gatekeeperd/
gatekeeperd.rc 4 writepid /dev/cpuset/system-background/tasks
  /device/google/marlin/
init.foreground.sh 3 # move spi6 thread and nanohub thread into foreground cpuset to prevent them
7 echo -n $PID > /dev/cpuset/foreground/tasks
10 echo -n $PID > /dev/cpuset/foreground/tasks
  /frameworks/native/services/vr/performanced/
cpu_set.h 21 class CpuSet {
25 CpuSet* parent() const { return parent_; }
39 CpuSet(CpuSet* parent, const std::string& name, base::unique_fd&& cpuset_fd);
41 void AddChild(std::unique_ptr<CpuSet> child);
50 CpuSet* parent_;
54 std::vector<std::unique_ptr<CpuSet>> children_;
59 CpuSet(const CpuSet&) = delete;
60 void operator=(const CpuSet&) = delete
    [all...]
cpu_set.cpp 31 bool CpuSet::prefix_enabled_ = false;
38 std::unique_ptr<CpuSet> CpuSetManager::Create(const std::string& path) {
41 ALOGE("CpuSet::Create: Failed to open \"%s\": %s", path.c_str(),
49 std::unique_ptr<CpuSet> CpuSetManager::Create(base::unique_fd base_fd,
51 CpuSet* parent) {
54 ALOGE("CpuSet::Create: Failed to opendir %s cpuset: %s", name.c_str(),
59 std::unique_ptr<CpuSet> group(
60 new CpuSet(parent, name, base::unique_fd(dup(base_fd))));
81 ALOGE("CpuSet::Create: Failed to openat \"%s\": %s", entry->d_name
    [all...]
  /frameworks/av/services/mediaanalytics/
mediametrics.rc 6 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
  /frameworks/native/cmds/servicemanager/
vndservicemanager.rc 5 writepid /dev/cpuset/system-background/tasks
  /frameworks/native/services/vr/hardware_composer/
vr_hwc.rc 6 writepid /dev/cpuset/system-background/tasks
  /system/core/lmkd/
lmkd.rc 6 writepid /dev/cpuset/system-background/tasks
  /system/extras/perfprofd/
perfprofd.rc 6 writepid /dev/cpuset/system-background/tasks
  /system/security/keystore/
keystore.rc 5 writepid /dev/cpuset/foreground/tasks
  /external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
cpuset.h 2 * cpuset header file
26 * cpusets - basic routines (use cpuset relative numbering of CPUs)
30 * cpuset_pin(int relcpu) - Pin current task to one CPU in its cpuset.
31 * cpuset_size() - How many CPUs are in current tasks cpuset?
32 * cpuset_where() - Most recent CPU in current tasks cpuset that task ran on.
33 * cpuset_unpin() - Undo cpuset_pin(), let task run anywhere in its cpuset.
44 * ==== Allocate and free struct cpuset ====
46 * cpuset_alloc() - Allocate a new struct cpuset
47 * cpuset_free(struct cpuset *cp) - Free struct cpuset *c
    [all...]
  /external/ltp/testcases/kernel/controllers/cpuset/
cpuset_funcs.sh 3 # functions for cpuset test
38 CPUSET="/dev/cpuset"
90 CPUSET_CONTROLLER=`grep -w cpuset /proc/cgroups | cut -f1`
91 CPUSET_CONTROLLER_VALUE=`grep -w cpuset /proc/cgroups | cut -f4`
93 if [ "$CPUSET_CONTROLLER" = "cpuset" ] && [ "$CPUSET_CONTROLLER_VALUE" = "1" ]
99 tst_brkm TCONF "Cpuset is not supported"
119 # Create /dev/cpuset & mount the cgroup file system with cpuset
123 if [ -e "$CPUSET" ]
    [all...]
  /frameworks/av/camera/cameraserver/
cameraserver.rc 6 writepid /dev/cpuset/camera-daemon/tasks /dev/stune/top-app/tasks
  /frameworks/av/media/mediaserver/
mediaserver.rc 6 writepid /dev/cpuset/foreground/tasks /dev/stune/foreground/tasks
  /frameworks/av/services/mediacodec/
android.hardware.media.omx@1.0-service.rc 6 writepid /dev/cpuset/foreground/tasks
  /hardware/interfaces/cas/1.0/default/
android.hardware.cas@1.0-service.rc 6 writepid /dev/cpuset/foreground/tasks
  /hardware/interfaces/drm/1.0/default/
android.hardware.drm@1.0-service.rc 6 writepid /dev/cpuset/foreground/tasks
  /system/core/storaged/
storaged.rc 6 writepid /dev/cpuset/system-background/tasks
  /system/hwservicemanager/
hwservicemanager.rc 9 writepid /dev/cpuset/system-background/tasks

Completed in 554 milliseconds

1 2 3 4 5 6 7 8 910