- Timestamp:
- Sep 15, 2008 8:15:18 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VBoxManage/VBoxManage.cpp
r12202 r12448 3091 3091 RTPrintf("Maximum VDI size: %lu Megabytes\n", ul64Value); 3092 3092 systemProperties->COMGETTER(DefaultVDIFolder)(str.asOutParam()); 3093 RTPrintf("Default VDI f ilder: %lS\n", str.raw());3093 RTPrintf("Default VDI folder: %lS\n", str.raw()); 3094 3094 systemProperties->COMGETTER(DefaultMachineFolder)(str.asOutParam()); 3095 3095 RTPrintf("Default machine folder: %lS\n", str.raw()); … … 7857 7857 minimum, maximum, period, count, description.raw()); 7858 7858 } 7859 7859 7860 7860 return 0; 7861 7861 } … … 7901 7901 listMatches = true;*/ 7902 7902 } 7903 7903 7904 7904 rc = parseFilterParameters(argc - i, &argv[i], aVirtualBox, 7905 7905 ComSafeArrayAsOutParam(metrics), … … 7914 7914 listMatches) == 0) 7915 7915 return 1;*/ 7916 7916 7917 7917 CHECK_ERROR(performanceCollector, 7918 7918 SetupMetrics(ComSafeArrayAsInParam(metrics), … … 7988 7988 RTPrintf("\n"); 7989 7989 } 7990 7990 7991 7991 return 0; 7992 7992 } … … 8007 8007 pts += RTStrFormatNumber(pts, Time.u32Nanosecond / 1000000, 10, 3, 0, RTSTR_F_ZEROPAD); 8008 8008 *pts = 0; 8009 } 8009 } 8010 8010 8011 8011 /********************************************************************* … … 8050 8050 break; /* The rest of params should define the filter */ 8051 8051 } 8052 8052 8053 8053 rc = parseFilterParameters(argc - i, &argv[i], aVirtualBox, 8054 8054 ComSafeArrayAsOutParam(metrics), … … 8064 8064 listMatches) == 0) 8065 8065 return 1; 8066 8066 8067 8067 CHECK_ERROR(performanceCollector, 8068 8068 SetupMetrics(ComSafeArrayAsInParam(baseMetrics), … … 8075 8075 return 0; 8076 8076 } 8077 8077 8078 8078 RTPrintf("Time stamp Object Metric Value\n"); 8079 8079 8080 8080 for (;;) 8081 8081 { … … 8083 8083 RTThreadSleep(period * 1000); // Sleep for 'period' seconds 8084 8084 char ts[15]; 8085 8085 8086 8086 getTimestamp(ts, sizeof(ts)); 8087 8087 com::SafeArray<BSTR> retNames; … … 8131 8131 } 8132 8132 } 8133 8133 8134 8134 return 0; 8135 8135 }
Note:
See TracChangeset
for help on using the changeset viewer.