| 422 | } |
| 423 | |
| 424 | std::shared_ptr<Profiler::Capture> Profiler::endCapture() |
| 425 | { |
| 426 | std::shared_ptr<Capture> pCapture; |
| 427 | std::swap(pCapture, mpCapture); |
| 428 | if (pCapture) |
| 429 | pCapture->finalize(); |
| 430 | return pCapture; |
| 431 | } |
| 432 | |
| 433 | bool Profiler::isCapturing() const |
| 434 | { |
no test coverage detected