Changeset 32448 in vbox for trunk/src/VBox/Main/ApplianceImpl.cpp
- Timestamp:
- Sep 13, 2010 2:24:06 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/ApplianceImpl.cpp
r31677 r32448 825 825 } 826 826 case ImportFileWithManifest: 827 case WriteFile:828 827 { 829 828 ++cOperations; // another one for creating the manifest … … 832 831 m->ulWeightForManifestOperation = m->ulTotalDisksMB / 10; 833 832 ulTotalOperationsWeight += m->ulWeightForManifestOperation; 833 if (fOVA) 834 { 835 // Another operation for packing 836 ++cOperations; 837 838 // assume that packing the files into the archive has the same weight than creating all files in the ovf exporting step 839 ulTotalOperationsWeight += m->ulTotalDisksMB; 840 } 841 break; 842 } 843 case WriteFile: 844 { 845 // assume that creating the manifest will take 10% of the time it takes to export the disks 846 if (m->fManifest) 847 { 848 ++cOperations; // another one for creating the manifest 849 850 m->ulWeightForManifestOperation = m->ulTotalDisksMB / 10; 851 ulTotalOperationsWeight += m->ulWeightForManifestOperation; 852 } 834 853 if (fOVA) 835 854 {
Note:
See TracChangeset
for help on using the changeset viewer.