![]() |
MySQL 9.3.0
Source Code Documentation
|
#include <cstdint>
#include <unistd.h>
#include <sys/cpuset.h>
#include <sys/sysctl.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... | |
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.