Changeset 13082 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Oct 8, 2008 2:36:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/PerformanceImpl.h
r12973 r13082 148 148 STDMETHOD(SetupMetrics) (ComSafeArrayIn (INPTR BSTR, metricNames), 149 149 ComSafeArrayIn (IUnknown *, objects), 150 ULONG aPeriod, ULONG aCount); 150 ULONG aPeriod, ULONG aCount, 151 ComSafeArrayOut (IPerformanceMetric *, 152 outMetrics)); 151 153 STDMETHOD(EnableMetrics) (ComSafeArrayIn (INPTR BSTR, metricNames), 152 ComSafeArrayIn (IUnknown *, objects)); 154 ComSafeArrayIn (IUnknown *, objects), 155 ComSafeArrayOut (IPerformanceMetric *, 156 outMetrics)); 153 157 STDMETHOD(DisableMetrics) (ComSafeArrayIn (INPTR BSTR, metricNames), 154 ComSafeArrayIn (IUnknown *, objects)); 158 ComSafeArrayIn (IUnknown *, objects), 159 ComSafeArrayOut (IPerformanceMetric *, 160 outMetrics)); 155 161 STDMETHOD(QueryMetricsData) (ComSafeArrayIn (INPTR BSTR, metricNames), 156 162 ComSafeArrayIn (IUnknown *, objects), 157 163 ComSafeArrayOut (BSTR, outMetricNames), 158 164 ComSafeArrayOut (IUnknown *, outObjects), 165 ComSafeArrayOut (BSTR, outUnits), 166 ComSafeArrayOut (ULONG, outScales), 167 ComSafeArrayOut (ULONG, outSequenceNumbers), 159 168 ComSafeArrayOut (ULONG, outDataIndices), 160 169 ComSafeArrayOut (ULONG, outDataLengths), 161 170 ComSafeArrayOut (LONG, outData)); 162 163 STDMETHOD(SetupMetricsEx) (ComSafeArrayIn (INPTR BSTR, metricNames),164 ComSafeArrayIn (IUnknown *, objects),165 ULONG aPeriod, ULONG aCount,166 ComSafeArrayOut (IPerformanceMetric *,167 outMetrics));168 STDMETHOD(EnableMetricsEx) (ComSafeArrayIn (INPTR BSTR, metricNames),169 ComSafeArrayIn (IUnknown *, objects),170 ComSafeArrayOut (IPerformanceMetric *,171 outMetrics));172 STDMETHOD(DisableMetricsEx) (ComSafeArrayIn (INPTR BSTR, metricNames),173 ComSafeArrayIn (IUnknown *, objects),174 ComSafeArrayOut (IPerformanceMetric *,175 outMetrics));176 STDMETHOD(QueryMetricsDataEx) (ComSafeArrayIn (INPTR BSTR, metricNames),177 ComSafeArrayIn (IUnknown *, objects),178 ComSafeArrayOut (BSTR, outMetricNames),179 ComSafeArrayOut (IUnknown *, outObjects),180 ComSafeArrayOut (BSTR, outUnits),181 ComSafeArrayOut (ULONG, outScales),182 ComSafeArrayOut (ULONG, outSequenceNumbers),183 ComSafeArrayOut (ULONG, outDataIndices),184 ComSafeArrayOut (ULONG, outDataLengths),185 ComSafeArrayOut (LONG, outData));186 171 187 172 // public methods only for internal purposes … … 203 188 HRESULT toIPerformanceMetric(pm::Metric *src, IPerformanceMetric **dst); 204 189 HRESULT toIPerformanceMetric(pm::BaseMetric *src, IPerformanceMetric **dst); 205 HRESULT SetupMetricsInt(ComSafeArrayIn (INPTR BSTR, metricNames),206 ComSafeArrayIn (IUnknown *, objects),207 ULONG aPeriod, ULONG aCount, bool reportAffected,208 ComSafeArrayOut (IPerformanceMetric *, outMetrics));209 HRESULT EnableMetricsInt (ComSafeArrayIn (INPTR BSTR, metricNames),210 ComSafeArrayIn (IUnknown *, objects),211 bool reportAffected,212 ComSafeArrayOut (IPerformanceMetric *,213 outMetrics));214 HRESULT DisableMetricsInt (ComSafeArrayIn (INPTR BSTR, metricNames),215 ComSafeArrayIn (IUnknown *, objects),216 bool reportAffected,217 ComSafeArrayOut (IPerformanceMetric *,218 outMetrics));219 190 220 191 static void staticSamplerCallback (RTTIMERLR hTimerLR, void *pvUser, uint64_t iTick);
Note:
See TracChangeset
for help on using the changeset viewer.