MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Stop

Method Stop

tensorflow/stream_executor/host/host_timer.cc:31–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29}
30
31bool HostTimer::Stop(Stream* stream) {
32 return stream->ThenDoHostCallback([this]() { this->StopNow(); }).ok();
33}
34
35uint64 HostTimer::Microseconds() const {
36 return duration_cast<std::chrono::microseconds>(duration_).count();

Callers 1

StopTimerMethod · 0.45

Calls 2

StopNowMethod · 0.95
okMethod · 0.45

Tested by

no test coverage detected