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

Method Await

tensorflow/core/platform/default/mutex.cc:62–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void mutex::Await(const Condition &cond) {
63 nsync::nsync_mu_wait(mu_cast(&mu_), &EvaluateCondition, &cond, nullptr);
64}
65
66bool mutex::AwaitWithDeadline(const Condition &cond, uint64 abs_deadline_ns) {
67 time_t seconds = abs_deadline_ns / (1000 * 1000 * 1000);

Callers 5

WorkLoopMethod · 0.45
BM_SequentialFunction · 0.45
BM_ParallelFunction · 0.45
BM_ParallelForFunction · 0.45
TESTFunction · 0.45

Calls 1

mu_castFunction · 0.85

Tested by 4

BM_SequentialFunction · 0.36
BM_ParallelFunction · 0.36
BM_ParallelForFunction · 0.36
TESTFunction · 0.36