VirtualBox

Changeset 80668 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Sep 9, 2019 11:43:43 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133199
Message:

Main/Performance: We don't measure diskspace is millibytes (mB), it should be megabytes (MB).

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/Performance.h

    r76562 r80668  
    582582        void preCollect(CollectorHints& hints, uint64_t iTick);
    583583        void collect();
    584         const char *getUnit() { return "mB"; };
     584        const char *getUnit() { return "MB"; };
    585585        ULONG getMinValue() { return 0; };
    586586        ULONG getMaxValue() { return INT32_MAX; };
     
    603603        void preCollect(CollectorHints& hints, uint64_t iTick);
    604604        void collect();
    605         const char *getUnit() { return "mB"; };
     605        const char *getUnit() { return "MB"; };
    606606        ULONG getMinValue() { return 0; };
    607607        ULONG getMaxValue() { return INT32_MAX; };
     
    734734        void preCollect(CollectorHints& hints, uint64_t iTick);
    735735        void collect();
    736         const char *getUnit() { return "mB"; };
     736        const char *getUnit() { return "MB"; };
    737737        ULONG getMinValue() { return 0; };
    738738        ULONG getMaxValue() { return INT32_MAX; };
  • trunk/src/VBox/Main/testcase/tstCollector.cpp

    r77102 r80668  
    230230            return 1;
    231231        }
    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);
    235235    }
    236236    return 0;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette