Home
last modified time | relevance | path

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

/libuv/src/unix/
H A Dlinux.c2339 char* cgroup_cpu = strstr(cgroup, ":cpu,"); in uv__cgroup1_find_cpu_controller() local
2341 if (cgroup_cpu != NULL) { in uv__cgroup1_find_cpu_controller()
2343 cgroup_cpu += sizeof(":cpu,") - 1; in uv__cgroup1_find_cpu_controller()
2345 *cgroup_size = (int)strcspn(cgroup_cpu, "\n"); in uv__cgroup1_find_cpu_controller()
2348 return cgroup_cpu; in uv__cgroup1_find_cpu_controller()
2357 char* cgroup_cpu; in uv__get_cgroupv1_constrained_cpu() local
2359 cgroup_cpu = uv__cgroup1_find_cpu_controller(cgroup, &cgroup_size); in uv__get_cgroupv1_constrained_cpu()
2361 if (cgroup_cpu == NULL) in uv__get_cgroupv1_constrained_cpu()
2366 cgroup_size, cgroup_cpu); in uv__get_cgroupv1_constrained_cpu()
2376 cgroup_size, cgroup_cpu); in uv__get_cgroupv1_constrained_cpu()
[all …]

Completed in 14 milliseconds