Changeset 48013 in vbox
- Timestamp:
- Aug 23, 2013 8:58:13 AM (11 years ago)
- Location:
- trunk/src/VBox/Main
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/Performance.h
r45051 r48013 199 199 void setGuest(CollectorGuest *aGuest) { mCGuest = aGuest; }; 200 200 CollectorGuest *getGuest() { return mCGuest; }; 201 virtual intexecute() = 0;201 virtual HRESULT execute() = 0; 202 202 203 203 virtual void debugPrint(void *aObject, const char *aFunction, const char *aText) = 0; … … 212 212 CGRQEnable(ULONG aMask) 213 213 : mMask(aMask) {}; 214 intexecute();214 HRESULT execute(); 215 215 216 216 void debugPrint(void *aObject, const char *aFunction, const char *aText); … … 224 224 CGRQDisable(ULONG aMask) 225 225 : mMask(aMask) {}; 226 intexecute();226 HRESULT execute(); 227 227 228 228 void debugPrint(void *aObject, const char *aFunction, const char *aText); … … 235 235 public: 236 236 CGRQAbort() {}; 237 intexecute();237 HRESULT execute(); 238 238 239 239 void debugPrint(void *aObject, const char *aFunction, const char *aText); … … 280 280 281 281 int enqueueRequest(CollectorGuestRequest *aRequest); 282 intenableInternal(ULONG mask);282 HRESULT enableInternal(ULONG mask); 283 283 int disableInternal(ULONG mask); 284 284 -
trunk/src/VBox/Main/src-server/Performance.cpp
r48009 r48013 184 184 } 185 185 186 intCGRQEnable::execute()186 HRESULT CGRQEnable::execute() 187 187 { 188 188 Assert(mCGuest); … … 199 199 } 200 200 201 intCGRQDisable::execute()201 HRESULT CGRQDisable::execute() 202 202 { 203 203 Assert(mCGuest); … … 214 214 } 215 215 216 intCGRQAbort::execute()216 HRESULT CGRQAbort::execute() 217 217 { 218 218 return E_ABORT; … … 282 282 } 283 283 284 intCollectorGuest::enableInternal(ULONG mask)284 HRESULT CollectorGuest::enableInternal(ULONG mask) 285 285 { 286 286 HRESULT ret = S_OK;
Note:
See TracChangeset
for help on using the changeset viewer.