Searched refs:constraint (Results 1 – 3 of 3) sorted by relevance
/libuv/src/unix/ |
H A D | linux.c | 2304 uv__cpu_constraint* constraint) { in uv__get_cgroupv2_constrained_cpu() argument 2327 if (sscanf(buf, "%15s %llu", quota_buf, &constraint->period_length) != 2) in uv__get_cgroupv2_constrained_cpu() 2331 constraint->quota_per_period = LLONG_MAX; in uv__get_cgroupv2_constrained_cpu() 2332 else if (sscanf(quota_buf, "%lld", &constraint->quota_per_period) != 1) in uv__get_cgroupv2_constrained_cpu() 2346 constraint->proportions = (double)weight / 100.0; in uv__get_cgroupv2_constrained_cpu() 2386 if (sscanf(buf, "%lld", &constraint->quota_per_period) != 1) in uv__get_cgroupv1_constrained_cpu() 2397 if (sscanf(buf, "%lld", &constraint->period_length) != 1) in uv__get_cgroupv1_constrained_cpu() 2411 constraint->proportions = (double)shares / 1024.0; in uv__get_cgroupv1_constrained_cpu() 2416 int uv__get_constrained_cpu(uv__cpu_constraint* constraint) { in uv__get_constrained_cpu() argument 2427 return uv__get_cgroupv2_constrained_cpu(cgroup, constraint); in uv__get_constrained_cpu() [all …]
|
H A D | internal.h | 498 int uv__get_constrained_cpu(uv__cpu_constraint* constraint);
|
/libuv/docs/src/ |
H A D | misc.rst | 629 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 13 milliseconds