Changeset 10528 in vbox for trunk/src/VBox/Main/idl
- Timestamp:
- Jul 11, 2008 2:27:01 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r10399 r10528 885 885 <interface 886 886 name="IVirtualBox" extends="$dispatched" 887 uuid=" 2d3b9ea7-25f5-4f07-a8e1-7dd7e0dcf667"887 uuid="557a07bc-e6ae-4520-a361-4a8493199137" 888 888 wsmap="managed" 889 889 > … … 1055 1055 implemented and therefore this collection is always empty. 1056 1056 </note> 1057 </desc> 1058 </attribute> 1059 <attribute name="performanceCollector" type="IPerformanceCollector" readonly="yes"> 1060 <desc> 1061 The only instance of IPerformanceCollector. 1057 1062 </desc> 1058 1063 </attribute> … … 3530 3535 </method> 3531 3536 3532 <method name="getProcessorUsage">3533 <desc>3534 Returns the current processor usage by this virtual machine measured3535 over all cores of all processors in the host system.3536 3537 The values returned for each parameter are in range from <tt>0</tt> (the3538 machine is powered off or does not load the CPUs at all) to3539 <tt>1 000 000 000</tt> (all cores of all CPUs are fully in use by this3540 machine).3541 </desc>3542 <param name="user" type="unsigned long" dir="out">3543 <desc>3544 Pecentage of processor time spent executing in user mode.3545 </desc>3546 </param>3547 <param name="system" type="unsigned long" dir="out">3548 <desc>3549 Pecentage of processor time spent executing in kernel mode.3550 </desc>3551 </param>3552 </method>3553 3554 3537 </interface> 3555 3538 … … 5053 5036 </method> 5054 5037 5055 <method name="getProcessorUsage">5056 <desc>5057 Returns the processor usage by the whole host system measured over all5058 cores of all processors of the host machine.5059 5060 The values returned for each parameter are in range from <tt>0</tt> (the5061 machine is powered off or doesn't load the CPUs at all) to5062 <tt>1 000 000 000</tt> (all cores of all CPUs are fully loaded by this5063 machine).5064 5065 <note>5066 The maximum value is 1000000000 which means that all cores of all CPUs5067 are completely used.5068 </note>5069 </desc>5070 <param name="user" type="unsigned long" dir="out">5071 <desc>5072 Pecentage of processor time spent executing in user mode.5073 </desc>5074 </param>5075 <param name="system" type="unsigned long" dir="out">5076 <desc>5077 Pecentage of processor time spent executing in kernel mode.5078 </desc>5079 </param>5080 <param name="idle" type="unsigned long" dir="out">5081 <desc>5082 Pecentage of processor time spent doing nothing.5083 </desc>5084 </param>5085 </method>5086 5038 </interface> 5087 5039 … … 10122 10074 </if> 10123 10075 10076 <interface 10077 name="IPerformanceMetric" extends="$unknown" 10078 uuid="50831d4c-ed55-4221-836c-87b487d3b44a" wsmap="managed" 10079 > 10080 <desc>Holds metrics parameters.</desc> 10081 10082 <attribute name="metricName" type="wstring" readonly="yes"> 10083 <desc> 10084 Name of the metric. 10085 </desc> 10086 </attribute> 10087 10088 <attribute name="object" type="$unknown" readonly="yes"> 10089 <desc> 10090 The object this metric belongs to. 10091 </desc> 10092 </attribute> 10093 10094 <attribute name="period" type="unsigned long" readonly="yes"> 10095 <desc> 10096 The time interval between samples, measured in seconds. 10097 </desc> 10098 </attribute> 10099 10100 <attribute name="count" type="unsigned long" readonly="yes"> 10101 <desc> 10102 The number of recent samples retained by the collector. Older samples 10103 are discarded. 10104 </desc> 10105 </attribute> 10106 10107 <attribute name="unit" type="wstring" readonly="yes"> 10108 <desc> 10109 The unit of measurement. 10110 </desc> 10111 </attribute> 10112 10113 <attribute name="minimumValue" type="long" readonly="yes"> 10114 <desc> 10115 The minimum possible value of this metric. 10116 </desc> 10117 </attribute> 10118 10119 <attribute name="maximumValue" type="long" readonly="yes"> 10120 <desc> 10121 The maximum possible value of this metric. 10122 </desc> 10123 </attribute> 10124 </interface> 10125 10126 <interface 10127 name="IPerformanceCollector" extends="$unknown" 10128 uuid="dcd37e5a-3964-43d1-be30-0f3c7234e347" 10129 wsmap="managed" 10130 > 10131 <desc> 10132 This object collects and stores performace metrics data. Performance 10133 metrics are associated with objects like IHost and IMachine. Each object 10134 has a distict set of performance metrics. It can be obtained with 10135 <link to="IPerformanceCollector::getMetrics"/>. 10136 </desc> 10137 10138 <attribute name="metricNames" type="wstring" readonly="yes" safearray="yes"> 10139 <desc> 10140 An array of unique names of metrics regardless of objects they are 10141 associated with. 10142 </desc> 10143 </attribute> 10144 10145 <method name="getMetrics"> 10146 <desc> 10147 Returns parameters (characteristics?) of specified metrics for a set of 10148 objects. 10149 <note> 10150 Null metrics array means all metrics. Null object array means all 10151 existing objects. 10152 </note> 10153 </desc> 10154 <param name="metricNames" type="wstring" dir="in" safearray="yes"/> 10155 <param name="objects" type="$unknown" dir="in" safearray="yes"/> 10156 <param name="metrics" type="IPerformanceMetric" dir="return" safearray="yes"/> 10157 </method> 10158 10159 <method name="setupMetrics"> 10160 <desc> 10161 Sets parameters of specified metrics for a set of objects. 10162 <note> 10163 Null metrics array means all metrics. Null object array means all 10164 existing objects. 10165 </note> 10166 </desc> 10167 <param name="metricNames" type="wstring" dir="in" safearray="yes"/> 10168 <param name="objects" type="$unknown" dir="in" safearray="yes"/> 10169 <param name="period" type="unsigned long" dir="in"/> 10170 <param name="count" type="unsigned long" dir="in"/> 10171 </method> 10172 10173 <method name="enableMetrics"> 10174 <desc> 10175 Turn on collection of specified metrics. 10176 <note> 10177 Null metrics array means all metrics. Null object array means all 10178 existing objects. 10179 </note> 10180 </desc> 10181 <param name="metricNames" type="wstring" dir="in" safearray="yes"/> 10182 <param name="objects" type="$unknown" dir="in" safearray="yes"/> 10183 </method> 10184 10185 <method name="disableMetrics"> 10186 <desc> 10187 Turn off collection of specified metrics. 10188 <note> 10189 Null metrics array means all metrics. Null object array means all 10190 existing objects. 10191 </note> 10192 </desc> 10193 <param name="metricNames" type="wstring" dir="in" safearray="yes"/> 10194 <param name="objects" type="$unknown" dir="in" safearray="yes"/> 10195 </method> 10196 10197 <method name="queryMetricsData"> 10198 <desc> 10199 Queries collected metrics data for a set of objects. 10200 <note> 10201 Null metrics array means all applicable metrics. Null object array 10202 means all existing objects. The @a returnData parameter is a 10203 flattened array of arrays. Each start and length of a sub-array is 10204 indicated by @a returnDataIndices and @a returnDataLengths. The 10205 rationale behind this API style is that it doesn't require objects 10206 to be returned, and thus eliminates all but the unavoidable IPC. 10207 </note> 10208 </desc> 10209 <param name="metricNames" type="wstring" dir="in" safearray="yes"/> 10210 <param name="objects" type="$unknown" dir="in" safearray="yes"/> 10211 <param name="returnMetricNames" type="wstring" dir="out" safearray="yes"/> 10212 <param name="returnObjects" type="$unknown" dir="out" safearray="yes"/> 10213 <param name="returnDataIndices" type="unsigned long" dir="out" safearray="yes"/> 10214 <param name="returnDataLengths" type="unsigned long" dir="out" safearray="yes"/> 10215 <param name="returnData" type="long" dir="return" safearray="yes"/> 10216 </method> 10217 10218 </interface> 10219 10124 10220 <module name="VBoxSVC" context="LocalServer"> 10125 10221 <class name="VirtualBox" uuid="B1A7A4F2-47B9-4A1E-82B2-07CCD5323C3F"
Note:
See TracChangeset
for help on using the changeset viewer.