|  | MySQL 9.5.0
    Source Code Documentation | 
Functions to fetch the number of VCPUs from the system. More...
#include "my_config.h"#include <sys/pset.h>#include <sys/types.h>#include <cstdint>#include <unistd.h>#include "my_system_api.h"| Functions | |
| 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... | |
Functions to fetch the number of VCPUs from the system.
APIs retrieve this information using the affinity between the process and the VCPU or by reading the system configuration
| 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.