Logging of memory allocations on Windows during the slicing process

when the SLIC3R_LOGLEVEL >= info.
This commit is contained in:
bubnikv 2018-12-18 11:31:41 +01:00
parent 1efb54cc6c
commit 771928d916
6 changed files with 87 additions and 15 deletions

View file

@ -12,6 +12,9 @@ namespace Slic3r {
extern void set_logging_level(unsigned int level);
extern void trace(unsigned int level, const char *message);
// Return string to be added to the boost::log output to inform about the current process memory allocation.
// The string is non-empty only if the loglevel >= info (3).
extern std::string log_memory_info();
extern void disable_multi_threading();
// Set a path with GUI resource files.