end the task timer.
| 68 | |
| 69 | ///end the task timer. |
| 70 | void Profiler::End(const char* fileName, int lineNum, const char* taskDescription) |
| 71 | { |
| 72 | std::lock_guard<std::mutex> guard{ mTasksMutex }; |
| 73 | TaskProfile* tp; |
| 74 | tp=GetTaskProfileByDescription(taskDescription); |
| 75 | if(tp) |
| 76 | tp->End(fileName,lineNum,taskDescription); |
| 77 | } |
| 78 | |
| 79 | ///Gets the singleton instance |
| 80 | Profiler* Profiler::Instance() |
no outgoing calls
no test coverage detected