Tame the Shiny profiler. Make it switchable with define SLIC3R_PROFILE.

This commit is contained in:
bubnikv
2016-11-16 23:11:51 +01:00
parent 3d47c52b47
commit 9772584d78
17 changed files with 27 additions and 89 deletions

View File

@@ -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 */