mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 16:57:53 -06:00
Added some profilling macros into GCodeTimeEstimator
This commit is contained in:
parent
95bd2bb8f9
commit
167060e470
4 changed files with 36 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue