Changeset 26602 in vbox for trunk/src/VBox/Main
- Timestamp:
- Feb 17, 2010 11:57:48 AM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57795
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/PerformanceImpl.cpp
r26186 r26602 38 38 #include "Performance.h" 39 39 40 static Bstr gMetricNames[] =40 static const char *g_papcszMetricNames[] = 41 41 { 42 42 "CPU/Load/User", … … 178 178 AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS); 179 179 180 com::SafeArray<BSTR> metricNames(RT_ELEMENTS(g MetricNames));181 for (size_t i = 0; i < RT_ELEMENTS(g MetricNames); i++)180 com::SafeArray<BSTR> metricNames(RT_ELEMENTS(g_papcszMetricNames)); 181 for (size_t i = 0; i < RT_ELEMENTS(g_papcszMetricNames); i++) 182 182 { 183 Bstr tmp(g MetricNames[i]); /* gcc-3.3 cruft */183 Bstr tmp(g_papcszMetricNames[i]); /* gcc-3.3 cruft */ 184 184 tmp.cloneTo(&metricNames[i]); 185 185 }
Note:
See TracChangeset
for help on using the changeset viewer.