HomeSort by relevance Sort by last modified time
    Searched refs:shares (Results 1 - 19 of 19) sorted by null

  /external/ltp/testcases/kernel/controllers/cpuctl_fj/
run_cpuctl_test_fj.sh 120 [ -f "$CPUCTL/cpu.shares" ] || {
121 tst_resm TFAIL "Err: No cpu.shares."
125 shares=`cat $CPUCTL/cpu.shares`
126 if [ $shares -ne 1024 ]
160 [ -f "$CPUCTL/tmp/cpu.shares" ] || return 1
162 shares=`cat $CPUCTL/tmp/cpu.shares`
163 if [ $shares -ne 1024 ]
192 [ -f "$CPUCTL/tmp/tmp1/cpu.shares" ] || return
    [all...]
  /system/update_engine/common/
cpu_limiter.h 24 // Cgroups cpu shares constants. 1024 is the default shares a standard process
33 // Sets the current process shares to |shares|. Returns true on
35 bool SetCpuShares(CpuShares shares);
42 // Sets the cpu shares to low and sets up timeout events to stop the limiter.
45 // Resets the cpu shares to normal and destroys any scheduled timeout sources.
48 // Sets the cpu shares to |shares|. This method can be user at any time, but
49 // if the limiter is not running, the shares won't be reset to normal
    [all...]
cpu_limiter.cc 32 const char kCGroupSharesPath[] = "/sys/fs/cgroup/cpu/update-engine/cpu.shares";
45 LOG(ERROR) << "Cpu shares timeout source hasn't been destroyed.";
57 // If the shares were never set and there isn't a message loop instance,
65 bool CPULimiter::SetCpuShares(CpuShares shares) {
66 // Short-circuit to avoid re-setting the shares.
67 if (shares_ == shares)
70 std::string string_shares = base::IntToString(static_cast<int>(shares));
71 LOG(INFO) << "Setting cgroup cpu shares to " << string_shares;
74 LOG(ERROR) << "Failed to change cgroup cpu shares to " << string_shares
78 shares_ = shares;
    [all...]
  /external/syslinux/gpxe/src/util/
symcheck.pl 85 # Build up requires, provides and shares symbol tables for global
96 $category = "shares";
111 my @shares = keys %{$info->{shares}};
113 if ( ( @provides == 0 ) && ( @shares == 1 ) ) {
116 @provides = @shares;
117 @shares = ();
120 if ( ( @requires > 0 ) && ( @provides == 0 ) && ( @shares == 0 ) ) {
138 if ( ( @shares > 0 ) && ( @provides > 0 ) ) {
  /external/ltp/testcases/kernel/controllers/libcontrollers/
libcontrollers.c 40 * This function scans all the shares files under the mountpoint
41 * of the controller and returns the total added shares of all
61 * exclude the shares of default group. FLAG to ensure dir_pointer is non NULL
64 && (strcmp(fullpath, "/dev/cpuctl/cpu.shares") != 0)
65 && (strcmp(dir_pointer->d_name, "cpu.shares") == 0)) {
85 * search all groups recursively and get total shares
168 * Reads shares value from a given shares file and writes them to
175 unsigned int shares; local
181 fscanf(fp, "%u", &shares);
    [all...]
  /external/autotest/client/site_tests/kernel_SchedBandwith/
kernel_SchedBandwith.py 139 os.path.join(self._CG_DIR, "cpu.shares")))
143 def _cg_set_shares(self, shares=None):
144 """Set CPU shares that can be used for cgroup
146 Default of None reads total shares for cpu group and assigns that so
149 if shares is None:
150 shares = self._cg_total_shares()
151 utils.write_one_line(os.path.join(self._CG_CRB_DIR, "cpu.shares"),
152 shares)
154 "cpu.shares"))
155 if rd_shares != shares
    [all...]
  /prebuilts/go/darwin-x86/src/image/
image.go 116 // through r. The returned value shares pixels with the original image.
228 // through r. The returned value shares pixels with the original image.
327 // through r. The returned value shares pixels with the original image.
439 // through r. The returned value shares pixels with the original image.
531 // through r. The returned value shares pixels with the original image.
626 // through r. The returned value shares pixels with the original image.
718 // through r. The returned value shares pixels with the original image.
800 // through r. The returned value shares pixels with the original image.
886 // through r. The returned value shares pixels with the original image.
974 // through r. The returned value shares pixels with the original image
    [all...]
ycbcr.go 113 // through r. The returned value shares pixels with the original image.
227 // through r. The returned value shares pixels with the original image.
  /prebuilts/go/linux-x86/src/image/
image.go 116 // through r. The returned value shares pixels with the original image.
228 // through r. The returned value shares pixels with the original image.
327 // through r. The returned value shares pixels with the original image.
439 // through r. The returned value shares pixels with the original image.
531 // through r. The returned value shares pixels with the original image.
626 // through r. The returned value shares pixels with the original image.
718 // through r. The returned value shares pixels with the original image.
800 // through r. The returned value shares pixels with the original image.
886 // through r. The returned value shares pixels with the original image.
974 // through r. The returned value shares pixels with the original image
    [all...]
ycbcr.go 113 // through r. The returned value shares pixels with the original image.
227 // through r. The returned value shares pixels with the original image.
  /external/mesa3d/docs/specs/
WL_create_wayland_buffer_from_image.spec 40 This extension provides an entry point to create a wl_buffer which shares
MESA_texture_signed_rgba.spec 38 This extension shares some language with ARB_texture_compression_rgtc
  /prebuilts/go/darwin-x86/src/cmd/compile/internal/ssa/
sparsetreemap.go 168 // otherEntry is a sparse Sibling, and shares the same sparse parent (nearest ancestor within larger tree)
  /prebuilts/go/darwin-x86/src/math/big/
prime.go 186 // If (d/n) == 0 then d shares a prime factor with n.
  /prebuilts/go/linux-x86/src/cmd/compile/internal/ssa/
sparsetreemap.go 168 // otherEntry is a sparse Sibling, and shares the same sparse parent (nearest ancestor within larger tree)
  /prebuilts/go/linux-x86/src/math/big/
prime.go 186 // If (d/n) == 0 then d shares a prime factor with n.
  /build/blueprint/bootstrap/bpdoc/
bpdoc.go 312 // Create a slice that shares the storage of props but has 0 length. Appending up to
  /prebuilts/go/darwin-x86/src/net/url/
url_test.go 203 // different URL parsing context, but currently shares the
    [all...]
  /prebuilts/go/linux-x86/src/net/url/
url_test.go 203 // different URL parsing context, but currently shares the
    [all...]

Completed in 306 milliseconds