mirror of
https://github.com/mhx/dwarfs.git
synced 2025-09-15 23:35:42 -04:00
chore(filesystem_writer): debug log compressor memory usage
This commit is contained in:
parent
36de0275a6
commit
8ebb2036a7
@ -816,6 +816,10 @@ void filesystem_writer_<LoggerPolicy>::write_block_impl(
|
|||||||
pctx = pctx_;
|
pctx = pctx_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
LOG_DEBUG << "compressor memory usage: "
|
||||||
|
<< size_with_unit(bc.estimate_memory_usage(data.size()))
|
||||||
|
<< " (block size " << size_with_unit(data.size()) << ")";
|
||||||
|
|
||||||
auto fsb = std::make_unique<fsblock>(section_type::BLOCK, bc, std::move(data),
|
auto fsb = std::make_unique<fsblock>(section_type::BLOCK, bc, std::move(data),
|
||||||
pctx, std::move(physical_block_cb));
|
pctx, std::move(physical_block_cb));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user