| 25 | using std::chrono::duration_cast; |
| 26 | |
| 27 | bool HostTimer::Start(Stream* stream) { |
| 28 | return stream->ThenDoHostCallback([this]() { this->StartNow(); }).ok(); |
| 29 | } |
| 30 | |
| 31 | bool HostTimer::Stop(Stream* stream) { |
| 32 | return stream->ThenDoHostCallback([this]() { this->StopNow(); }).ok(); |
no test coverage detected