Changeset 59922 in vbox for trunk/src/VBox/Frontends/VBoxManage
- Timestamp:
- Mar 4, 2016 12:05:32 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 105855
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManageMetrics.cpp
r57358 r59922 197 197 LONG minimum, maximum; 198 198 RTPrintf( 199 "Object Metric Unit Minimum Maximum Period CountDescription\n"200 "---------- 199 "Object Metric Unit Minimum Maximum Period Count Description\n" 200 "--------------- ---------------------------------------- ---- ---------- ---------- ---------- ---------- -----------\n"); 201 201 for (size_t i = 0; i < metricInfo.size(); i++) 202 202 { … … 209 209 CHECK_ERROR(metricInfo[i], COMGETTER(Unit)(unit.asOutParam())); 210 210 CHECK_ERROR(metricInfo[i], COMGETTER(Description)(description.asOutParam())); 211 RTPrintf("%-1 0ls %-20ls %-4ls %10d %10d %10u %10u %ls\n",211 RTPrintf("%-15ls %-40ls %-4ls %10d %10d %10u %10u %ls\n", 212 212 getObjectName(aVirtualBox, object).raw(), metricName.raw(), unit.raw(), 213 213 minimum, maximum, period, count, description.raw()); … … 315 315 ComSafeArrayAsOutParam(retData)) ); 316 316 317 RTPrintf("Object MetricValues\n"318 "---------- 317 RTPrintf("Object Metric Values\n" 318 "--------------- ---------------------------------------- --------------------------------------------\n"); 319 319 for (unsigned i = 0; i < retNames.size(); i++) 320 320 { 321 321 Bstr metricUnit(retUnits[i]); 322 322 Bstr metricName(retNames[i]); 323 RTPrintf("%-1 0ls %-20ls ", getObjectName(aVirtualBox, retObjects[i]).raw(), metricName.raw());323 RTPrintf("%-15ls %-40ls ", getObjectName(aVirtualBox, retObjects[i]).raw(), metricName.raw()); 324 324 const char *separator = ""; 325 325 for (unsigned j = 0; j < retLengths[i]; j++)
Note:
See TracChangeset
for help on using the changeset viewer.