Home
last modified time | relevance | path

Searched refs:constraint (Results 1 – 3 of 3) sorted by relevance

/libuv/src/unix/
H A Dlinux.c2289 uv__cpu_constraint* constraint) { in uv__get_cgroupv2_constrained_cpu() argument
2312 if (sscanf(buf, "%15s %llu", quota_buf, &constraint->period_length) != 2) in uv__get_cgroupv2_constrained_cpu()
2316 constraint->quota_per_period = LLONG_MAX; in uv__get_cgroupv2_constrained_cpu()
2317 else if (sscanf(quota_buf, "%lld", &constraint->quota_per_period) != 1) in uv__get_cgroupv2_constrained_cpu()
2331 constraint->proportions = (double)weight / 100.0; in uv__get_cgroupv2_constrained_cpu()
2371 if (sscanf(buf, "%lld", &constraint->quota_per_period) != 1) in uv__get_cgroupv1_constrained_cpu()
2382 if (sscanf(buf, "%lld", &constraint->period_length) != 1) in uv__get_cgroupv1_constrained_cpu()
2396 constraint->proportions = (double)shares / 1024.0; in uv__get_cgroupv1_constrained_cpu()
2401 int uv__get_constrained_cpu(uv__cpu_constraint* constraint) { in uv__get_constrained_cpu() argument
2412 return uv__get_cgroupv2_constrained_cpu(cgroup, constraint); in uv__get_constrained_cpu()
[all …]
H A Dinternal.h496 int uv__get_constrained_cpu(uv__cpu_constraint* constraint);
/libuv/docs/src/
H A Dmisc.rst629 limits imposed by the OS. If there is no such constraint, or the constraint
631 is no constraint set, `UINT64_MAX` is returned. Note that it is not unusual
644 limits imposed by the OS. If there is no such constraint, or the constraint

Completed in 14 milliseconds