Aufgrund einer Wartung wird GitLab am 18.01. zwischen 8:00 und 9:00 Uhr kurzzeitig nicht zur Verfügung stehen. / Due to maintenance, GitLab will be temporarily unavailable on 18.01. between 8:00 and 9:00 am.

Commit ed654d2f authored by Pascal Palenda's avatar Pascal Palenda
Browse files

Fix some issues with the profiler on off switch

parent 268e8e12
......@@ -195,7 +195,7 @@ namespace ITA
#define PROFILER_EVENT_COUNT( ... )
#define PROFILER_VALUE( ... )
#define PROFILER_SECTION( ... )
#define PROFILER_SECTION( )
#define PROFILER_FUNCTION( )
#define PROFILER_END_SECTION()
#define PROFILER_NAME_THREAD( ... )
#define PROFILER_NAME_THREAD_MAIN( )
......
......@@ -24,12 +24,13 @@
#include <libjson.h>
#include <VistaBase/VistaTimeUtils.h>
#ifdef WITH_PROFILER
namespace ITA
{
namespace SimulationScheduler
{
#ifdef WITH_PROFILER
namespace Profiler
{
class ProfilerInstance;
......@@ -675,6 +676,8 @@ namespace ITA
}
} // namespace Profiler
#endif
void StoreProfilerData ( const std::string& sProfilerFileName )
{
#ifdef WITH_PROFILER
......@@ -689,6 +692,4 @@ namespace ITA
} // namespace SimulationScheduler
} // namespace ITA
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment