Mercurial > hg > orthanc
comparison OrthancServer/Sources/ServerJobs/ArchiveJob.cpp @ 5430:b83192e7ad10
Now displaying timings when reading from/writing to disk in the verbose logs
author | Alain Mazy <am@osimis.io> |
---|---|
date | Mon, 20 Nov 2023 17:01:48 +0100 |
parents | 05cb668c5f3f |
children | 2d23c92c359a |
comparison
equal
deleted
inserted
replaced
5429:d40ac28b9702 | 5430:b83192e7ad10 |
---|---|
69 | 69 |
70 const bool isZip64 = (uncompressedSize >= 2 * GIGA_BYTES - SAFETY_MARGIN || | 70 const bool isZip64 = (uncompressedSize >= 2 * GIGA_BYTES - SAFETY_MARGIN || |
71 countInstances >= 65535 - FILES_MARGIN); | 71 countInstances >= 65535 - FILES_MARGIN); |
72 | 72 |
73 LOG(INFO) << "Creating a ZIP file with " << countInstances << " files of size " | 73 LOG(INFO) << "Creating a ZIP file with " << countInstances << " files of size " |
74 << (uncompressedSize / MEGA_BYTES) << "MB using the " | 74 << Toolbox::GetHumanFileSize(uncompressedSize) << " using the " |
75 << (isZip64 ? "ZIP64" : "ZIP32") << " file format"; | 75 << (isZip64 ? "ZIP64" : "ZIP32") << " file format"; |
76 | 76 |
77 return isZip64; | 77 return isZip64; |
78 } | 78 } |
79 | 79 |