Changeset 9429 in vbox for trunk/include
- Timestamp:
- Jun 5, 2008 3:22:37 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/mp.h
r9309 r9429 67 67 * 68 68 * This may or may not validate the precense of the CPU, so, use 69 * RTMp DoesCpuExistfor that.69 * RTMpIsCpuPossible for that. 70 70 * 71 71 * @returns The corresponding CPU identifier, NIL_RTCPUID on failure. … … 85 85 86 86 /** 87 * Checks if a CPU is online or not.87 * Checks if a CPU exists in the system or may possibly be hotplugged later. 88 88 * 89 89 * @returns true/false accordingly. 90 90 * @param idCpu The identifier of the CPU. 91 91 */ 92 RTDECL(bool) RTMpIsCpuOnline(RTCPUID idCpu); 93 94 /** 95 * Checks if a CPU exist or not / validates a CPU id. 92 RTDECL(bool) RTMpIsCpuPossible(RTCPUID idCpu); 93 94 /** 95 * Gets set of the CPUs present in the system pluss any that may 96 * possibly be hotplugged later. 97 * 98 * @returns pSet. 99 * @param pSet Where to put the set. 100 */ 101 RTDECL(PRTCPUSET) RTMpGetSet(PRTCPUSET pSet); 102 103 /** 104 * Get the count of CPUs present in the system plus any that may 105 * possibly be hotplugged later. 106 * 107 * @return The count. 108 */ 109 RTDECL(RTCPUID) RTMpGetCount(void); 110 111 /** 112 * Gets set of the CPUs present that are currently online. 113 * 114 * @returns pSet. 115 * @param pSet Where to put the set. 116 */ 117 RTDECL(PRTCPUSET) RTMpGetOnlineSet(PRTCPUSET pSet); 118 119 /** 120 * Get the count of CPUs that are currently online. 121 * 122 * @return The count. 123 */ 124 RTDECL(RTCPUID) RTMpGetOnlineCount(void); 125 126 /** 127 * Checks if a CPU is online or not. 96 128 * 97 129 * @returns true/false accordingly. 98 130 * @param idCpu The identifier of the CPU. 99 131 */ 100 RTDECL(bool) RTMpDoesCpuExist(RTCPUID idCpu); 101 102 /** 103 * Gets set of the CPUs present in the system. 104 * 105 * This may or may not validate the precense of the CPU, so, use 106 * RTMpDoesCpuExist for that. 107 * 108 * @returns pSet. 109 * @param pSet Where to put the set. 110 */ 111 RTDECL(PRTCPUSET) RTMpGetSet(PRTCPUSET pSet); 112 113 /** 114 * Get the count of CPUs presetn in the system. 115 * 116 * @return The count. 117 */ 118 RTDECL(RTCPUID) RTMpGetCount(void); 119 120 /** 121 * Gets set of the CPUs present that are currently online. 122 * 123 * @returns pSet. 124 * @param pSet Where to put the set. 125 */ 126 RTDECL(PRTCPUSET) RTMpGetOnlineSet(PRTCPUSET pSet); 127 128 /** 129 * Get the count of CPUs that are currently online. 130 * 131 * @return The count. 132 */ 133 RTDECL(RTCPUID) RTMpGetOnlineCount(void); 132 RTDECL(bool) RTMpIsCpuOnline(RTCPUID idCpu); 134 133 135 134
Note:
See TracChangeset
for help on using the changeset viewer.