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

  /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/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.
  /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.
  /external/mesa3d/docs/
MESA_texture_signed_rgba.spec 38 This extension shares some language with ARB_texture_compression_rgtc
  /build/blueprint/bootstrap/bpdoc/
bpdoc.go 304 // 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 175 // different URL parsing context, but currently shares the
  /prebuilts/go/linux-x86/src/net/url/
url_test.go 175 // different URL parsing context, but currently shares the
  /prebuilts/go/darwin-x86/src/runtime/
mbitmap.go 659 // but if the start or end of x shares a bitmap byte with an adjacent
    [all...]
  /prebuilts/go/linux-x86/src/runtime/
mbitmap.go 659 // but if the start or end of x shares a bitmap byte with an adjacent
    [all...]

Completed in 620 milliseconds