VirtualBox

Changeset 27939 in vbox


Ignore:
Timestamp:
Apr 1, 2010 1:34:31 PM (15 years ago)
Author:
vboxsync
Message:

Main/Performance warnings

File:
1 edited

Legend:

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

    r27930 r27939  
    140140    public:
    141141        virtual ~CollectorHAL() { };
    142         virtual int preCollect(const CollectorHints& /* hints */, uint64_t iTick) { return VINF_SUCCESS; }
     142        virtual int preCollect(const CollectorHints& /* hints */, uint64_t /* iTick */) { return VINF_SUCCESS; }
    143143        /** Returns averaged CPU usage in 1/1000th per cent across all host's CPUs. */
    144144        virtual int getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle);
     
    223223    public:
    224224        BaseMetric(CollectorHAL *hal, const char *name, ComPtr<IUnknown> object)
    225             : mHAL(hal), mPeriod(0), mLength(0), mName(name), mObject(object), mLastSampleTaken(0), mEnabled(false) {};
     225            : mPeriod(0), mLength(0), mHAL(hal), mName(name), mObject(object), mLastSampleTaken(0), mEnabled(false) {};
    226226        virtual ~BaseMetric() {};
    227227
Note: See TracChangeset for help on using the changeset viewer.

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