mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-22 16:21:24 -06:00
Tame the Shiny profiler. Make it switchable with define SLIC3R_PROFILE.
This commit is contained in:
parent
3d47c52b47
commit
9772584d78
17 changed files with 27 additions and 89 deletions
|
@ -28,16 +28,6 @@ THE SOFTWARE.
|
|||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
/* SHINY_IS_COMPILED is the master on or off swith at compile time. Define it to TRUE or FALSE before including header Shiny.h or inside ShinyConfig.h. Default is TRUE.
|
||||
*/
|
||||
#if defined(SLIC3R_PROFILE) && defined(WIN32)
|
||||
#define SHINY_IS_COMPILED TRUE
|
||||
#else
|
||||
#define SHINY_IS_COMPILED FALSE
|
||||
#endif
|
||||
|
||||
#define SHINY_STATIC_LINK TRUE
|
||||
|
||||
/* if SHINY_LOOKUP_RATE is defined to TRUE then Shiny will record the success of its hash function. This is useful for debugging. Default is FALSE.
|
||||
*/
|
||||
#ifndef SHINY_LOOKUP_RATE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue