|  | MySQL 9.5.0
    Source Code Documentation | 
Go to the source code of this file.
| Functions | |
| uint64_t | my_cgroup_mem_limit () | 
| Read the memory limit set by the container.  More... | |
| uint32_t | my_cgroup_vcpu_limit () | 
| Read the CPU limit set by the container.  More... | |
| uint32_t | num_vcpus_using_affinity () | 
| Find number of VCPUs as seen by the current process based on the affinity between each process and VCPU.  More... | |
| uint32_t | num_vcpus_using_config () | 
| Get the number of VCPUS based on system configuration.  More... | |
| uint32_t | my_system_num_vcpus () | 
| Get the number of VCPU.  More... | |
| uint64_t my_cgroup_mem_limit | ( | ) | 
Read the memory limit set by the container.
Try cgroup v2, and then cgroup v1
| uint32_t my_cgroup_vcpu_limit | ( | ) | 
Read the CPU limit set by the container.
Try cgroup v2, and then cgroup v1
| uint32_t my_system_num_vcpus | ( | ) | 
Get the number of VCPU.
| uint32_t num_vcpus_using_affinity | ( | ) | 
Find number of VCPUs as seen by the current process based on the affinity between each process and VCPU.
| uint32_t num_vcpus_using_config | ( | ) | 
Get the number of VCPUS based on system configuration.