mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 01:37:53 -06:00
Support for naming slicer own threads for debugging.
The following threads are named with this commit: slic3r_main, slic3r_BackgroundSlicingProcess, slic3r_tbbpool_xx_yy where xx is a one based index of the TTB thread and yy is the platform thread ID.
This commit is contained in:
parent
8d59abfdf8
commit
6531061d09
12 changed files with 219 additions and 38 deletions
|
@ -1688,12 +1688,6 @@ void PrintObject::_slice(const std::vector<coordf_t> &layer_height_profile)
|
|||
|
||||
m_typed_slices = false;
|
||||
|
||||
#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
|
||||
|
||||
// 1) Initialize layers and their slice heights.
|
||||
std::vector<float> slice_zs;
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue