Changeset 80668 in vbox for trunk/src/VBox/Main
- Timestamp:
- Sep 9, 2019 11:43:43 AM (6 years ago)
- svn:sync-xref-src-repo-rev:
- 133199
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/Performance.h
r76562 r80668 582 582 void preCollect(CollectorHints& hints, uint64_t iTick); 583 583 void collect(); 584 const char *getUnit() { return " mB"; };584 const char *getUnit() { return "MB"; }; 585 585 ULONG getMinValue() { return 0; }; 586 586 ULONG getMaxValue() { return INT32_MAX; }; … … 603 603 void preCollect(CollectorHints& hints, uint64_t iTick); 604 604 void collect(); 605 const char *getUnit() { return " mB"; };605 const char *getUnit() { return "MB"; }; 606 606 ULONG getMinValue() { return 0; }; 607 607 ULONG getMaxValue() { return INT32_MAX; }; … … 734 734 void preCollect(CollectorHints& hints, uint64_t iTick); 735 735 void collect(); 736 const char *getUnit() { return " mB"; };736 const char *getUnit() { return "MB"; }; 737 737 ULONG getMinValue() { return 0; }; 738 738 ULONG getMaxValue() { return INT32_MAX; }; -
trunk/src/VBox/Main/testcase/tstCollector.cpp
r77102 r80668 230 230 return 1; 231 231 } 232 RTPrintf("tstCollector: host root fs total = %lu mB\n", total);233 RTPrintf("tstCollector: host root fs used = %lu mB\n", used);234 RTPrintf("tstCollector: host root fs available = %lu mB\n\n", available);232 RTPrintf("tstCollector: host root fs total = %lu MB\n", total); 233 RTPrintf("tstCollector: host root fs used = %lu MB\n", used); 234 RTPrintf("tstCollector: host root fs available = %lu MB\n\n", available); 235 235 } 236 236 return 0;
Note:
See TracChangeset
for help on using the changeset viewer.