Hello,
pon., 16 maj 2022 o 22:38 <[email protected]> napisał(a):
> 'Radoslaw Korzeniewski' suggested that I could take the Comm Line
> Compression report at face value; I appreciate this interest in my problem.
>
This is the code which computes the report.
compression = (double)100 - 100.0 * ((double)jcr->CommCompressedBytes
/ (double)jcr->CommBytes);
if (compression < 0.5) {
bstrncpy(comm_compress, "None", sizeof(comm_compress));
} else {
ratio = (double)jcr->CommBytes / (double)jcr->CommCompressedBytes;
bsnprintf(comm_compress, sizeof(comm_compress), "%.1f%% %.1f:1",
compression, ratio);
}
It should solve all your doubts.
best regards
--
Radosław Korzeniewski
[email protected]
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users