Tame the Shiny profiler. Make it switchable with define SLIC3R_PROFILE.
This commit is contained in:
@@ -22,6 +22,8 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#ifdef SLIC3R_PROFILE
|
||||
|
||||
#include "ShinyOutput.h"
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -35,9 +37,6 @@ THE SOFTWARE.
|
||||
# define TRAILING 1
|
||||
#endif
|
||||
|
||||
#if SHINY_IS_COMPILED == TRUE
|
||||
|
||||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
||||
#define OUTPUT_WIDTH_CALL 6
|
||||
@@ -187,4 +186,4 @@ void ShinyPrintZones(char* output, const ShinyZone *a_root) {
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif /* SLIC3R_PROFILE */
|
||||
|
||||
Reference in New Issue
Block a user