Memory optimization of SLA export,

logging of memory consumption during SLA slicing (just on Windows as of now).
This commit is contained in:
bubnikv 2019-04-25 18:03:17 +02:00
parent e9d629f248
commit ca50d1b55a
2 changed files with 7 additions and 10 deletions

View file

@ -1823,7 +1823,7 @@ void SLAPrint::StatusReporter::operator()(
SLAPrint &p, double st, const std::string &msg, unsigned flags)
{
m_st = st;
BOOST_LOG_TRIVIAL(info) << st << "% " << msg;
BOOST_LOG_TRIVIAL(info) << st << "% " << msg << log_memory_info();
p.set_status(int(std::round(st)), msg, flags);
}