| 248 | |
| 249 | #ifdef TORQUE_ENABLE_PROFILE_PATH |
| 250 | const 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 |
no test coverage detected