Go to the documentation of this file. 28 #ifndef PXFOUNDATION_PXPROFILEZONE_H 29 #define PXFOUNDATION_PXPROFILEZONE_H 34 #if PX_DEBUG || PX_CHECKED || PX_PROFILE 35 #define PX_PROFILE_ZONE(x, y) \ 36 physx::PxProfileScoped PX_CONCAT(_scoped, __LINE__)(PxGetProfilerCallback(), x, false, y) 37 #define PX_PROFILE_START_CROSSTHREAD(x, y) \ 38 if(PxGetProfilerCallback()) \ 39 PxGetProfilerCallback()->zoneStart(x, true, y) 40 #define PX_PROFILE_STOP_CROSSTHREAD(x, y) \ 41 if(PxGetProfilerCallback()) \ 42 PxGetProfilerCallback()->zoneEnd(NULL, x, true, y) 44 #define PX_PROFILE_ZONE(x, y) 45 #define PX_PROFILE_START_CROSSTHREAD(x, y) 46 #define PX_PROFILE_STOP_CROSSTHREAD(x, y) 49 #define PX_PROFILE_POINTER_TO_U64(pointer) static_cast<uint64_t>(reinterpret_cast<size_t>(pointer)) 51 #endif // PXFOUNDATION_PXPROFILEZONE_H