- Timestamp:
- Jun 23, 2010 3:29:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/PGMSavedState.cpp
r30396 r30397 1895 1895 * dirty page (long term) vs. total pages ratio + some pass trickery. 1896 1896 */ 1897 unsigned uPctDirty = cDirtyPagesLong1898 / (long double)(pVM->pgm.s.cAllPages - pVM->pgm.s.LiveSave.cIgnoredPages - pVM->pgm.s.cZeroPages);1897 unsigned uPctDirty = (unsigned)( (long double)cDirtyPagesLong 1898 / (pVM->pgm.s.cAllPages - pVM->pgm.s.LiveSave.cIgnoredPages - pVM->pgm.s.cZeroPages); 1899 1899 if (uPctDirty <= 100) 1900 1900 SSMR3HandleReportLivePercent(pSSM, RT_MIN(100 - uPctDirty, uPass * 2));
Note:
See TracChangeset
for help on using the changeset viewer.