Changeset 27939 in vbox
- Timestamp:
- Apr 1, 2010 1:34:31 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/Performance.h
r27930 r27939 140 140 public: 141 141 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; } 143 143 /** Returns averaged CPU usage in 1/1000th per cent across all host's CPUs. */ 144 144 virtual int getHostCpuLoad(ULONG *user, ULONG *kernel, ULONG *idle); … … 223 223 public: 224 224 BaseMetric(CollectorHAL *hal, const char *name, ComPtr<IUnknown> object) 225 : m HAL(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) {}; 226 226 virtual ~BaseMetric() {}; 227 227
Note:
See TracChangeset
for help on using the changeset viewer.