VirtualBox

Changeset 46639 in vbox for trunk/include/iprt/mp.h


Ignore:
Timestamp:
Jun 18, 2013 5:33:09 PM (11 years ago)
Author:
vboxsync
Message:

Added RTMpGetOnlineCoreCount and RTMpGetPresentCoreCount.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/mp.h

    r46636 r46639  
    141141
    142142/**
     143 * Get the count of physical CPU cores in the system with one or more online
     144 * threads.
     145 *
     146 * @returns The number of online cores.
     147 */
     148RTDECL(RTCPUID) RTMpGetCoreOnlineCount(void);
     149
     150/**
    143151 * Checks if a CPU is online or not.
    144152 *
     
    163171 */
    164172RTDECL(RTCPUID) RTMpGetPresentCount(void);
     173
     174/**
     175 * Get the count of physical CPU cores present in the system.
     176 *
     177 * @returns The number of cores.
     178 */
     179RTDECL(RTCPUID) RTMpGetPresentCoreCount(void);
    165180
    166181/**
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette