Changeset 43933 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Nov 22, 2012 7:43:47 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMetrics.cpp
r43629 r43933 104 104 { 105 105 char *pszRaw = aFullName.mutableRaw(); 106 char *pszSlash = strrchr(pszRaw, '/'); 107 if (pszSlash) 108 { 109 *pszSlash = 0; 110 aFullName.jolt(); 106 /* 107 * Currently there are two metrics which base name is the same as the 108 * sub-metric name: CPU/MHz and Net/<iface>/LinkSpeed. 109 */ 110 if (strcmp(pszRaw, "CPU/MHz") && !RTStrSimplePatternMatch("Net/*/LinkSpeed", pszRaw)) 111 { 112 char *pszSlash = strrchr(pszRaw, '/'); 113 if (pszSlash) 114 { 115 *pszSlash = 0; 116 aFullName.jolt(); 117 } 111 118 } 112 119 return Bstr(aFullName);
Note:
See TracChangeset
for help on using the changeset viewer.