Changeset 4529 in vbox
- Timestamp:
- Sep 5, 2007 9:34:11 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/GuestImpl.cpp
r4528 r4529 66 66 autoInitSpan.setSucceeded(); 67 67 68 /* Default is not to report guest statistics at all */ 69 mStatUpdateInterval = 0; 70 71 /* Default is no ballooning */ 72 mMemoryBalloonSize = 0; 68 ULONG aMemoryBalloonSize; 69 HRESULT ret = mParent->machine()->COMGETTER(MemoryBalloonSize)(&aMemoryBalloonSize); 70 if (ret == S_OK) 71 mMemoryBalloonSize = aMemoryBalloonSize; 72 else 73 mMemoryBalloonSize = 0; /* Default is no ballooning */ 74 75 ULONG aStatUpdateInterval; 76 ret = mParent->machine()->COMGETTER(StatisticsUpdateInterval)(&aStatUpdateInterval); 77 if (ret == S_OK) 78 mStatUpdateInterval = aStatUpdateInterval; 79 else 80 mStatUpdateInterval = 0; /* Default is not to report guest statistics at all */ 81 73 82 return S_OK; 74 83 }
Note:
See TracChangeset
for help on using the changeset viewer.