Welcome to mirror list, hosted at ThFree Co, Russian Federation.

Profile.hpp « Utils « slic3r « src - github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 5fb1e3116782413695de3ecac182b7be460beddb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef slic3r_GUI_Profile_hpp_
#define slic3r_GUI_Profile_hpp_

// Profiling support using the Shiny intrusive profiler
//#define SLIC3R_PROFILE_GUI
#if defined(SLIC3R_PROFILE) && defined(SLIC3R_PROFILE_GUI)
	#include <Shiny/Shiny.h>
	#define SLIC3R_GUI_PROFILE_FUNC() PROFILE_FUNC()
	#define SLIC3R_GUI_PROFILE_BLOCK(name) PROFILE_BLOCK(name)
	#define SLIC3R_GUI_PROFILE_UPDATE() PROFILE_UPDATE()
	#define SLIC3R_GUI_PROFILE_OUTPUT(x) PROFILE_OUTPUT(x)
#else
	#define SLIC3R_GUI_PROFILE_FUNC()
	#define SLIC3R_GUI_PROFILE_BLOCK(name)
	#define SLIC3R_GUI_PROFILE_UPDATE()
	#define SLIC3R_GUI_PROFILE_OUTPUT(x)
#endif

#endif // slic3r_GUI_Profile_hpp_