MySQL 9.3.0
Source Code Documentation
my_system_api_common.cc File Reference

Functions to fetch the number of VCPUs from the system. More...

#include <cstdint>
#include "my_system_api.h"

Functions

uint32_t my_system_num_vcpus ()
 Get the number of VCPU. More...
 

Detailed Description

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

Function Documentation

◆ my_system_num_vcpus()

uint32_t my_system_num_vcpus ( )

Get the number of VCPU.