diff --git a/src/LinearMath/btQuickprof.cpp b/src/LinearMath/btQuickprof.cpp index d2b970152..1572b9626 100644 --- a/src/LinearMath/btQuickprof.cpp +++ b/src/LinearMath/btQuickprof.cpp @@ -729,11 +729,9 @@ unsigned int btQuickprofGetCurrentThreadIndex2() { void btEnterProfileZoneDefault(const char* name) { - CProfileManager::Start_Profile( name ); } void btLeaveProfileZoneDefault() { - CProfileManager::Stop_Profile(); } diff --git a/src/LinearMath/btQuickprof.h b/src/LinearMath/btQuickprof.h index e3afc5a80..98a267577 100644 --- a/src/LinearMath/btQuickprof.h +++ b/src/LinearMath/btQuickprof.h @@ -65,12 +65,10 @@ btLeaveProfileZoneFunc* btGetCurrentLeaveProfileZoneFunc(); void btSetCustomEnterProfileZoneFunc(btEnterProfileZoneFunc* enterFunc); void btSetCustomLeaveProfileZoneFunc(btLeaveProfileZoneFunc* leaveFunc); -#ifndef BT_ENABLE_PROFILE +#ifndef BT_NO_PROFILE // FIX redefinition //To disable built-in profiling, please comment out next line -#ifndef BT_NO_PROFILE -#define BT_NO_PROFILE 1 +//#define BT_NO_PROFILE 1 #endif //BT_NO_PROFILE -#endif //BT_ENABLE_PROFILE const unsigned int BT_QUICKPROF_MAX_THREAD_COUNT = 64;