Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ NowMicros
Method
NowMicros
tensorflow/core/kernels/batching_util/fake_clock_env.cc:68–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
}
67
68
uint64 FakeClockEnv::NowMicros() const {
69
{
70
mutex_lock l(mu_);
71
return current_time_;
72
}
73
}
74
75
void FakeClockEnv::SleepForMicroseconds(int64 micros) {
76
if (micros == 0) {
Callers
15
TestResizeBilinear
Function · 0.45
TimeRequantizeManyInNewRange
Function · 0.45
TEST_F
Function · 0.45
Compute
Method · 0.45
TEST_F
Function · 0.45
Compute
Method · 0.45
Compute
Method · 0.45
PublishTensor
Method · 0.45
Compute
Method · 0.45
EnforceTimeout
Method · 0.45
TimeAdd
Function · 0.45
TimeMul
Function · 0.45
Calls
no outgoing calls
Tested by
12
TestResizeBilinear
Function · 0.36
TimeRequantizeManyInNewRange
Function · 0.36
TEST_F
Function · 0.36
TEST_F
Function · 0.36
TimeAdd
Function · 0.36
TimeMul
Function · 0.36
TEST_F
Function · 0.36
RunInferenceByHexagonControlWrapper
Function · 0.36
InjectLoad
Method · 0.36
BenchmarkBatchTask
Method · 0.36
RunBenchmark
Method · 0.36
ProcessBatch
Method · 0.36