VirtualBox

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


Ignore:
Timestamp:
Sep 16, 2010 4:18:12 PM (14 years ago)
Author:
vboxsync
Message:

VMM,SUPDrv,IPRT: More changes for related to the priodic preemption timer. (still disabled)

File:
1 edited

Legend:

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

    r28800 r32572  
    7373 * Gets the max CPU identifier (inclusive).
    7474 *
    75  * Inteded for brute force enumerations, but use with
     75 * Intended for brute force enumerations, but use with
    7676 * care as it may be expensive.
    7777 *
     
    8080RTDECL(RTCPUID) RTMpGetMaxCpuId(void);
    8181
     82/**
     83 * Gets the size of a CPU array that is indexed by CPU set index.
     84 *
     85 * This takes both online, offline and hot-plugged cpus into account.
     86 *
     87 * @returns Number of elements.
     88 *
     89 * @remarks Use RTMpCpuIdToSetIndex to convert a RTCPUID into an array index.
     90 */
     91RTDECL(uint32_t) RTMpGetArraySize(void);
    8292
    8393/**
     
    102112 * possibly be hotplugged later.
    103113 *
    104  * @return The count.
     114 * @returns The count.
     115 * @remarks Don't use this for CPU array sizing, use RTMpGetArraySize instead.
    105116 */
    106117RTDECL(RTCPUID) RTMpGetCount(void);
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