Changeset 33060 in vbox for trunk/src/VBox/Main/ApplianceImpl.cpp
- Timestamp:
- Oct 12, 2010 12:17:49 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r32718 r33060 678 678 break; 679 679 } 680 /* Check if the current operation ha vechanged. It is also possible680 /* Check if the current operation has changed. It is also possible 681 681 that in the meantime more than one async operation was finished. So 682 682 we have to loop as long as we reached the same operation count. */ … … 843 843 case WriteFile: 844 844 { 845 // assume that creating the manifest will take 10% of the time it takes to export the disks845 // assume that creating the manifest will take .1% of the time it takes to export the disks 846 846 if (m->fManifest) 847 847 { 848 848 ++cOperations; // another one for creating the manifest 849 849 850 m->ulWeightForManifestOperation = m->ulTotalDisksMB / 10;850 m->ulWeightForManifestOperation = (ULONG)((double)m->ulTotalDisksMB * .1 / 100); // use .5% of the progress for the manifest 851 851 ulTotalOperationsWeight += m->ulWeightForManifestOperation; 852 }853 if (fOVA)854 {855 // Another operation for packing856 ++cOperations;857 858 // assume that packing the files into the archive has the same weight than creating all files in the ovf exporting step859 ulTotalOperationsWeight += m->ulTotalDisksMB;860 852 } 861 853 break;
Note:
See TracChangeset
for help on using the changeset viewer.