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

Method Schedule

tensorflow/core/framework/dataset.cc:461–467  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

459}
460
461void BackgroundWorker::Schedule(std::function<void()> work_item) {
462 {
463 mutex_lock l(mu_);
464 work_queue_.push_back(std::move(work_item));
465 }
466 cond_var_.notify_one();
467}
468
469void BackgroundWorker::WorkerLoop() {
470 while (true) {

Callers 15

BlockOnThreadExecutorFunction · 0.45
LoadHsacoMethod · 0.45
LoadPtxMethod · 0.45
SchedClosureMethod · 0.45
BM_PingPongFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
TESTFunction · 0.45
FunctionTestSchedClosureFunction · 0.45
ExecuteWithTimeoutFunction · 0.45
PredictCostsMethod · 0.45

Calls 2

notify_oneMethod · 0.80
push_backMethod · 0.45

Tested by 10

SchedClosureMethod · 0.36
BM_PingPongFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
FunctionTestSchedClosureFunction · 0.36
TYPED_TESTFunction · 0.36
TESTFunction · 0.36