Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
31
bool HostTimer::Stop(Stream* stream) {
32
return stream->ThenDoHostCallback([this]() { this->StopNow(); }).ok();
33
}
34
35
uint64 HostTimer::Microseconds() const {
36
return duration_cast<std::chrono::microseconds>(duration_).count();
Callers
1
StopTimer
Method · 0.45
Calls
2
StopNow
Method · 0.95
ok
Method · 0.45
Tested by
no test coverage detected