Home
last modified time | relevance | path

Searched refs:cgroup (Results 1 – 2 of 2) sorted by relevance

/libuv/src/unix/
H A Dlinux.c2303 static int uv__get_cgroupv2_constrained_cpu(const char* cgroup, in uv__get_cgroupv2_constrained_cpu() argument
2312 if (strncmp(cgroup, "0::/", 4) != 0) in uv__get_cgroupv2_constrained_cpu()
2351 static char* uv__cgroup1_find_cpu_controller(const char* cgroup, in uv__cgroup1_find_cpu_controller() argument
2354 char* cgroup_cpu = strstr(cgroup, ":cpu,"); in uv__cgroup1_find_cpu_controller()
2366 static int uv__get_cgroupv1_constrained_cpu(const char* cgroup, in uv__get_cgroupv1_constrained_cpu() argument
2374 cgroup_cpu = uv__cgroup1_find_cpu_controller(cgroup, &cgroup_size); in uv__get_cgroupv1_constrained_cpu()
2417 char cgroup[1024]; in uv__get_constrained_cpu() local
2420 if (uv__slurp("/proc/self/cgroup", cgroup, sizeof(cgroup)) < 0) in uv__get_constrained_cpu()
2426 if (strncmp(cgroup, "0::/", 4) == 0) in uv__get_constrained_cpu()
2427 return uv__get_cgroupv2_constrained_cpu(cgroup, constraint); in uv__get_constrained_cpu()
[all …]
/libuv/
H A DChangeLog62 * linux: fix uv_available_parallelism using cgroup (Thomas Walter)

Completed in 20 milliseconds