| 300 | |
| 301 | #ifdef TORQUE_ENABLE_PROFILE_PATH |
| 302 | const 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 |
no test coverage detected