Changeset 10595 in vbox for trunk/src/VBox/Main/idl
- Timestamp:
- Jul 14, 2008 12:23:57 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 33291
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/idl/VirtualBox.xidl
r10544 r10595 1057 1057 </desc> 1058 1058 </attribute> 1059 1059 1060 <attribute name="performanceCollector" type="IPerformanceCollector" readonly="yes"> 1060 1061 <desc> 1061 The only instance of IPerformanceCollector.1062 Associated performance collector object. 1062 1063 </desc> 1063 1064 </attribute> … … 10074 10075 </if> 10075 10076 10077 <!-- 10078 // IPerformanceCollector & friends 10079 ///////////////////////////////////////////////////////////////////////// 10080 --> 10081 10076 10082 <interface 10077 10083 name="IPerformanceMetric" extends="$unknown" 10078 10084 uuid="50831d4c-ed55-4221-836c-87b487d3b44a" wsmap="managed" 10079 10085 > 10080 <desc>Holds metrics parameters.</desc> 10081 10086 <desc> 10087 The IPerformanceMetric interface represents parameters of the given 10088 performance metric. 10089 </desc> 10090 10082 10091 <attribute name="metricName" type="wstring" readonly="yes"> 10083 10092 <desc> … … 10088 10097 <attribute name="object" type="$unknown" readonly="yes"> 10089 10098 <desc> 10090 The object this metric belongs to.10099 Object this metric belongs to. 10091 10100 </desc> 10092 10101 </attribute> … … 10094 10103 <attribute name="period" type="unsigned long" readonly="yes"> 10095 10104 <desc> 10096 T he time interval between samples, measured in seconds.10105 Time interval between samples, measured in seconds. 10097 10106 </desc> 10098 10107 </attribute> … … 10100 10109 <attribute name="count" type="unsigned long" readonly="yes"> 10101 10110 <desc> 10102 The number of recent samples retained by the collector. Older samples 10111 Number of recent samples retained by the performance collector for this 10112 metric. 10113 10114 When the collected sample count exceeds this number, older samples 10103 10115 are discarded. 10104 10116 </desc> … … 10107 10119 <attribute name="unit" type="wstring" readonly="yes"> 10108 10120 <desc> 10109 The unit of measurement.10121 Unit of measurement. 10110 10122 </desc> 10111 10123 </attribute> … … 10113 10125 <attribute name="minimumValue" type="long" readonly="yes"> 10114 10126 <desc> 10115 The minimum possible value of this metric.10127 Minimum possible value of this metric. 10116 10128 </desc> 10117 10129 </attribute> … … 10119 10131 <attribute name="maximumValue" type="long" readonly="yes"> 10120 10132 <desc> 10121 The maximum possible value of this metric.10133 Maximum possible value of this metric. 10122 10134 </desc> 10123 10135 </attribute> … … 10130 10142 > 10131 10143 <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"/>. 10144 The IPerformanceCollector interfaces represents a service that collects 10145 and stores performace metrics data. 10146 10147 Performance metrics are associated with objects like IHost and IMachine. 10148 Each object has a distict set of performance metrics. It can be obtained 10149 with <link to="IPerformanceCollector::getMetrics"/>. 10136 10150 </desc> 10137 10151 10138 10152 <attribute name="metricNames" type="wstring" readonly="yes" safearray="yes"> 10139 10153 <desc> 10140 An array of unique names of metrics regardless of objects they are 10141 associated with. 10142 </desc> 10143 </attribute> 10144 10154 Array of unique names of metrics. 10155 10156 This array represents all metrics supported by the performance 10157 collector. Individual objects do not necessarily support all of them. 10158 <link to="IPerformanceCollector::getMetrics"/> can be used to get the 10159 list of supported metrics for a particular object. 10160 </desc> 10161 </attribute> 10162 10145 10163 <method name="getMetrics"> 10146 10164 <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 10165 Returns parameters of specified metrics for a set of objects. 10166 <note> 10167 @c Null metrics array means all metrics. @c Null object array means 10168 all existing objects. 10169 </note> 10170 </desc> 10171 <param name="metricNames" type="wstring" dir="in" safearray="yes"> 10172 <desc> 10173 Metric name filter. Currently, only a comma-separated list of metrics 10174 is supported. 10175 </desc> 10176 </param> 10177 <param name="objects" type="$unknown" dir="in" safearray="yes"> 10178 <desc> 10179 Set of objects to return metric parameters for. 10180 </desc> 10181 </param> 10182 <param name="metrics" type="IPerformanceMetric" dir="return" safearray="yes"> 10183 <desc> 10184 Array of returned metric parameters. 10185 </desc> 10186 </param> 10187 </method> 10188 10159 10189 <method name="setupMetrics"> 10160 10190 <desc> 10161 10191 Sets parameters of specified metrics for a set of objects. 10162 10192 <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"/> 10193 @c Null metrics array means all metrics. @c Null object array means 10194 all existing objects. 10195 </note> 10196 </desc> 10197 <param name="metricNames" type="wstring" dir="in" safearray="yes"> 10198 <desc> 10199 Metric name filter. Currently, only a comma-separated list of metrics 10200 is supported. 10201 </desc> 10202 </param> 10203 <param name="objects" type="$unknown" dir="in" safearray="yes"> 10204 <desc> 10205 Set of objects to setup metric parameters for. 10206 </desc> 10207 </param> 10208 <param name="period" type="unsigned long" dir="in"> 10209 <desc> 10210 @todo ??? 10211 </desc> 10212 </param> 10213 <param name="count" type="unsigned long" dir="in"> 10214 <desc> 10215 @todo ??? 10216 </desc> 10217 </param> 10171 10218 </method> 10172 10219 10173 10220 <method name="enableMetrics"> 10174 10221 <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"/> 10222 Turns on collecting specified metrics. 10223 <note> 10224 @c Null metrics array means all metrics. @c Null object array means 10225 all existing objects. 10226 </note> 10227 </desc> 10228 <param name="metricNames" type="wstring" dir="in" safearray="yes"> 10229 <desc> 10230 Metric name filter. Currently, only a comma-separated list of metrics 10231 is supported. 10232 </desc> 10233 </param> 10234 <param name="objects" type="$unknown" dir="in" safearray="yes"> 10235 <desc> 10236 Set of objects to enable metrics for. 10237 </desc> 10238 </param> 10183 10239 </method> 10184 10240 10185 10241 <method name="disableMetrics"> 10186 10242 <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"/> 10243 Turns off collecting specified metrics. 10244 <note> 10245 @c Null metrics array means all metrics. @c Null object array means 10246 all existing objects. 10247 </note> 10248 </desc> 10249 <param name="metricNames" type="wstring" dir="in" safearray="yes"> 10250 <desc> 10251 Metric name filter. Currently, only a comma-separated list of metrics 10252 is supported. 10253 </desc> 10254 </param> 10255 <param name="objects" type="$unknown" dir="in" safearray="yes"> 10256 <desc> 10257 Set of objects to disable metrics for. 10258 </desc> 10259 </param> 10195 10260 </method> 10196 10261 … … 10198 10263 <desc> 10199 10264 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"/> 10265 10266 The @a returnData parameter is a flattened array of arrays. Each start 10267 and length of a sub-array is indicated by @a returnDataIndices and @a 10268 returnDataLengths. 10269 10270 <note> 10271 @c Null metrics array means all applicable metrics. @c Null object 10272 array means all existing objects. 10273 </note> 10274 </desc> 10275 <param name="metricNames" type="wstring" dir="in" safearray="yes"> 10276 <desc> 10277 Metric name filter. Currently, only a comma-separated list of metrics 10278 is supported. 10279 </desc> 10280 </param> 10281 <param name="objects" type="$unknown" dir="in" safearray="yes"> 10282 <desc> 10283 Set of objects to query metrics for. 10284 </desc> 10285 </param> 10286 <param name="returnMetricNames" type="wstring" dir="out" safearray="yes"> 10287 <desc> 10288 @todo ??? 10289 </desc> 10290 </param> 10291 <param name="returnObjects" type="$unknown" dir="out" safearray="yes"> 10292 <desc> 10293 @todo ??? 10294 </desc> 10295 </param> 10296 <param name="returnDataIndices" type="unsigned long" dir="out" safearray="yes"> 10297 <desc> 10298 @todo ??? 10299 </desc> 10300 </param> 10301 <param name="returnDataLengths" type="unsigned long" dir="out" safearray="yes"> 10302 <desc> 10303 @todo ??? 10304 </desc> 10305 </param> 10306 <param name="returnData" type="long" dir="return" safearray="yes"> 10307 <desc> 10308 @todo ??? 10309 </desc> 10310 </param> 10216 10311 </method> 10217 10312
Note:
See TracChangeset
for help on using the changeset viewer.