MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / getProfilePath

Method getProfilePath

Engine/source/platform/profiler.cpp:302–311  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300
301#ifdef TORQUE_ENABLE_PROFILE_PATH
302const char * Profiler::getProfilePath()
303{
304#ifdef TORQUE_MULTITHREAD
305 // Ignore non-main-thread profiler activity.
306 if( !ThreadManager::isMainThread() )
307 return "[non-main thread]";
308#endif
309
310 return (mEnabled && mCurrentProfilerData) ? mCurrentProfilerData->mPath : "na";
311}
312#endif
313
314#ifdef TORQUE_ENABLE_PROFILE_PATH

Callers 3

GFXPrimitiveBufferMethod · 0.80
GFXTextureObjectMethod · 0.80
allocFunction · 0.80

Calls 1

isMainThreadFunction · 0.85

Tested by

no test coverage detected