Download Oracle VM VirtualBox Programming Guide and Reference
Transcript
5 Classes (interfaces) 5.76.1 Attributes 5.76.1.1 metricNames (read-only) wstring IPerformanceCollector::metricNames[] Array of unique names of metrics. This array represents all metrics supported by the performance collector. Individual objects do not necessarily support all of them. getMetrics() can be used to get the list of supported metrics for a particular object. 5.76.2 disableMetrics IPerformanceMetric[] IPerformanceCollector::disableMetrics( [in] wstring metricNames[], [in] $unknown objects[]) metricNames Metric name filter. Comma-separated list of metrics with wildcard support. objects Set of objects to disable metrics for. Turns off collecting specified base metrics. Returns an array of IPerformanceMetric describing the metrics have been affected. Note: Null or empty metric name array means all metrics. Null or empty object array means all existing objects. If metric name array contains a single element and object array contains many, the single metric name array element is applied to each object array element to form metric/object pairs. 5.76.3 enableMetrics IPerformanceMetric[] IPerformanceCollector::enableMetrics( [in] wstring metricNames[], [in] $unknown objects[]) metricNames Metric name filter. Comma-separated list of metrics with wildcard support. objects Set of objects to enable metrics for. Turns on collecting specified base metrics. Returns an array of IPerformanceMetric describing the metrics have been affected. Note: Null or empty metric name array means all metrics. Null or empty object array means all existing objects. If metric name array contains a single element and object array contains many, the single metric name array element is applied to each object array element to form metric/object pairs. 230