| 29 | } |
| 30 | |
| 31 | void finalize() |
| 32 | { |
| 33 | if (!s->finalized) |
| 34 | { |
| 35 | //std::chrono::system_clock::time_point end = std::chrono::system_clock::now(); |
| 36 | s->microseconds = std::chrono::system_clock::now() - _start; |
| 37 | s->finalized = true; |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | ProfileSample* s = nullptr; |
| 42 | std::chrono::system_clock::time_point _start; |
no outgoing calls
no test coverage detected