Changeset 29615 in vbox for trunk/src/VBox
- Timestamp:
- May 18, 2010 11:54:24 AM (15 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/HostImpl.cpp
r29385 r29615 765 765 *aCount = RTMpGetOnlineCount(); 766 766 return S_OK; 767 } 768 769 /** 770 * Returns the number of installed physical processor cores. 771 * 772 * @returns COM status code 773 * @param count address of result variable 774 */ 775 STDMETHODIMP Host::COMGETTER(ProcessorCoreCount)(ULONG *aCount) 776 { 777 CheckComArgOutPointerValid(aCount); 778 // no locking required 779 780 return E_NOTIMPL; 767 781 } 768 782 -
trunk/src/VBox/Main/idl/VirtualBox.xidl
r29591 r29615 7666 7666 </attribute> 7667 7667 7668 <attribute name="processorCoreCount" type="unsigned long" readonly="yes"> 7669 <desc>Number of physical processor cores installed in the host system.</desc> 7670 </attribute> 7671 7668 7672 <method name="getProcessorSpeed"> 7669 7673 <desc>Query the (approximate) maximum speed of a specified host CPU in -
trunk/src/VBox/Main/include/HostImpl.h
r28800 r29615 67 67 STDMETHOD(COMGETTER(ProcessorCount))(ULONG *count); 68 68 STDMETHOD(COMGETTER(ProcessorOnlineCount))(ULONG *count); 69 STDMETHOD(COMGETTER(ProcessorCoreCount))(ULONG *count); 69 70 STDMETHOD(GetProcessorSpeed)(ULONG cpuId, ULONG *speed); 70 71 STDMETHOD(GetProcessorDescription)(ULONG cpuId, BSTR *description);
Note:
See TracChangeset
for help on using the changeset viewer.