Added some profilling macros into GCodeTimeEstimator

This commit is contained in:
Lukas Matena 2018-07-20 16:14:23 +02:00
parent 95bd2bb8f9
commit 167060e470
4 changed files with 36 additions and 3 deletions

View file

@ -1183,8 +1183,8 @@ void PrintObject::_slice()
this->typed_slices = false;
#if 0
// Disable parallelization for debugging purposes.
#ifdef SLIC3R_PROFILE
// Disable parallelization so the Shiny profiler works
static tbb::task_scheduler_init *tbb_init = nullptr;
tbb_init = new tbb::task_scheduler_init(1);
#endif