Changeset 12668 in vbox for trunk/src/VBox/Main/include
- Timestamp:
- Sep 23, 2008 12:35:28 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/PerformanceImpl.h
r12400 r12668 68 68 // public initializer/uninitializer for internal purposes only 69 69 HRESULT init (pm::Metric *aMetric); 70 HRESULT init (pm::BaseMetric *aMetric); 70 71 void uninit(); 71 72 … … 152 153 STDMETHOD(DisableMetrics) (ComSafeArrayIn (INPTR BSTR, metricNames), 153 154 ComSafeArrayIn (IUnknown *, objects)); 155 STDMETHOD(SetupMetricsEx) (ComSafeArrayIn (INPTR BSTR, metricNames), 156 ComSafeArrayIn (IUnknown *, objects), 157 ULONG aPeriod, ULONG aCount, 158 ComSafeArrayOut (IPerformanceMetric *, 159 outMetrics)); 160 STDMETHOD(EnableMetricsEx) (ComSafeArrayIn (INPTR BSTR, metricNames), 161 ComSafeArrayIn (IUnknown *, objects), 162 ComSafeArrayOut (IPerformanceMetric *, 163 outMetrics)); 164 STDMETHOD(DisableMetricsEx) (ComSafeArrayIn (INPTR BSTR, metricNames), 165 ComSafeArrayIn (IUnknown *, objects), 166 ComSafeArrayOut (IPerformanceMetric *, 167 outMetrics)); 154 168 STDMETHOD(QueryMetricsData) (ComSafeArrayIn (INPTR BSTR, metricNames), 155 169 ComSafeArrayIn (IUnknown *, objects), … … 176 190 177 191 private: 178 192 HRESULT toIPerformanceMetric(pm::Metric *src, IPerformanceMetric **dst); 193 HRESULT toIPerformanceMetric(pm::BaseMetric *src, IPerformanceMetric **dst); 194 HRESULT SetupMetricsInt(ComSafeArrayIn (INPTR BSTR, metricNames), 195 ComSafeArrayIn (IUnknown *, objects), 196 ULONG aPeriod, ULONG aCount, bool reportAffected, 197 ComSafeArrayOut (IPerformanceMetric *, outMetrics)); 198 HRESULT EnableMetricsInt (ComSafeArrayIn (INPTR BSTR, metricNames), 199 ComSafeArrayIn (IUnknown *, objects), 200 bool reportAffected, 201 ComSafeArrayOut (IPerformanceMetric *, 202 outMetrics)); 203 HRESULT DisableMetricsInt (ComSafeArrayIn (INPTR BSTR, metricNames), 204 ComSafeArrayIn (IUnknown *, objects), 205 bool reportAffected, 206 ComSafeArrayOut (IPerformanceMetric *, 207 outMetrics)); 208 179 209 static void staticSamplerCallback (RTTIMERLR hTimerLR, void *pvUser, uint64_t iTick); 180 210 void samplerCallback();
Note:
See TracChangeset
for help on using the changeset viewer.