Changeset 32572 in vbox for trunk/include/iprt/mp.h
- Timestamp:
- Sep 16, 2010 4:18:12 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mp.h
r28800 r32572 73 73 * Gets the max CPU identifier (inclusive). 74 74 * 75 * Inte ded for brute force enumerations, but use with75 * Intended for brute force enumerations, but use with 76 76 * care as it may be expensive. 77 77 * … … 80 80 RTDECL(RTCPUID) RTMpGetMaxCpuId(void); 81 81 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 */ 91 RTDECL(uint32_t) RTMpGetArraySize(void); 82 92 83 93 /** … … 102 112 * possibly be hotplugged later. 103 113 * 104 * @return The count. 114 * @returns The count. 115 * @remarks Don't use this for CPU array sizing, use RTMpGetArraySize instead. 105 116 */ 106 117 RTDECL(RTCPUID) RTMpGetCount(void);
Note:
See TracChangeset
for help on using the changeset viewer.