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

Method getProfilePath

Engine/source/platform/profiler.cpp:250–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

248
249#ifdef TORQUE_ENABLE_PROFILE_PATH
250const char * Profiler::getProfilePath()
251{
252#ifdef TORQUE_MULTITHREAD
253 // Ignore non-main-thread profiler activity.
254 if( !ThreadManager::isMainThread() )
255 return "[non-main thread]";
256#endif
257
258 return (mEnabled && mCurrentProfilerData) ? mCurrentProfilerData->mPath : "na";
259}
260#endif
261
262#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