Changeset 85263 in vbox for trunk/src/VBox/Main/include/Performance.h
- Timestamp:
- Jul 12, 2020 12:24:26 AM (5 years ago)
- svn:sync-xref-src-repo-rev:
- 139240
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/Performance.h
r82968 r85263 280 280 ULONG aBalloonedVMM, ULONG aSharedVMM, 281 281 ULONG aVmNetRx, ULONG aVmNetTx); 282 intenable(ULONG mask);283 intdisable(ULONG mask);284 285 intenqueueRequest(CollectorGuestRequest *aRequest);282 HRESULT enable(ULONG mask); 283 HRESULT disable(ULONG mask); 284 285 HRESULT enqueueRequest(CollectorGuestRequest *aRequest); 286 286 HRESULT enableInternal(ULONG mask); 287 intdisableInternal(ULONG mask);287 HRESULT disableInternal(ULONG mask); 288 288 289 289 const com::Utf8Str& getVMName() const { return mMachineName; }; … … 307 307 308 308 private: 309 intenableVMMStats(bool mCollectVMMStats);309 HRESULT enableVMMStats(bool mCollectVMMStats); 310 310 311 311 CollectorGuestManager *mManager; … … 347 347 void preCollect(CollectorHints& hints, uint64_t iTick); 348 348 void destroyUnregistered(); 349 intenqueueRequest(CollectorGuestRequest *aRequest);349 HRESULT enqueueRequest(CollectorGuestRequest *aRequest); 350 350 351 351 CollectorGuest *getBlockedGuest() { return mGuestBeingCalled; }; … … 418 418 bool collectorBeat(uint64_t nowAt); 419 419 420 virtual intenable() { mEnabled = true; return S_OK; };421 virtual intdisable() { mEnabled = false; return S_OK; };420 virtual HRESULT enable() { mEnabled = true; return S_OK; }; 421 virtual HRESULT disable() { mEnabled = false; return S_OK; }; 422 422 void unregister() { mUnregistered = true; }; 423 423 … … 649 649 void preCollect(CollectorHints& hints, uint64_t iTick); 650 650 void collect(); 651 intenable();652 intdisable();651 HRESULT enable(); 652 HRESULT disable(); 653 653 const char *getUnit() { return "kB"; }; 654 654 ULONG getMinValue() { return 0; }; … … 759 759 void preCollect(CollectorHints& hints, uint64_t iTick); 760 760 void collect(); 761 intenable();762 intdisable();761 HRESULT enable(); 762 HRESULT disable(); 763 763 const char *getUnit() { return "B/s"; }; 764 764 ULONG getMinValue() { return 0; }; … … 779 779 void preCollect(CollectorHints& hints, uint64_t iTick); 780 780 void collect(); 781 intenable();782 intdisable();781 HRESULT enable(); 782 HRESULT disable(); 783 783 const char *getUnit() { return "%"; }; 784 784 ULONG getMinValue() { return 0; }; … … 801 801 void preCollect(CollectorHints& hints, uint64_t iTick); 802 802 void collect(); 803 intenable();804 intdisable();803 HRESULT enable(); 804 HRESULT disable(); 805 805 const char *getUnit() { return "kB"; }; 806 806 ULONG getMinValue() { return 0; };
Note:
See TracChangeset
for help on using the changeset viewer.