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

Method wait_for

tensorflow/core/platform/default/mutex.h:31–35  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29
30template <class Rep, class Period>
31std::cv_status condition_variable::wait_for(
32 mutex_lock &lock, std::chrono::duration<Rep, Period> dur) {
33 return internal::wait_until_system_clock(
34 &this->cv_, &lock.mutex()->mu_, std::chrono::system_clock::now() + dur);
35}
36
37} // namespace tensorflow
38

Callers 15

WaitForWorkMethod · 0.80
WaitTurnMethod · 0.80
WaitForMethod · 0.80
PutMethod · 0.80
OptimizeThreadMethod · 0.80
WaitForMillisecondsFunction · 0.80
WorkerThreadMethod · 0.80
MaybeFetchMethod · 0.80
WaitMethod · 0.80
FlowControlSendMethod · 0.80

Calls 2

wait_until_system_clockFunction · 0.85
mutexMethod · 0.45

Tested by 1

WaitTurnMethod · 0.64