MCPcopy Create free account
hub / github.com/OAID/Tengine / LaunchMaster

Method LaunchMaster

driver/cpu/cpu_driver.hpp:123–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 }
122
123 void LaunchMaster(void)
124 {
125 auto f = std::bind(&CPUDevice::MasterProcess, this, std::placeholders::_1, std::placeholders::_2);
126
127 master_thread_ = new WorkerThread<cpu_task>(f, cpu_info_.master_cpu);
128
129 master_thread_->SetQueue(&master_task_queue_, &master_queue_lock_, &master_queue_cv_);
130 master_thread_->LaunchWorker(true);
131
132 master_thread_->Activate(cpu_info_.master_cpu);
133 }
134
135 void LaunchAider(void)
136 {

Callers 1

InitializeDeviceMethod · 0.80

Calls 3

SetQueueMethod · 0.80
LaunchWorkerMethod · 0.80
ActivateMethod · 0.80

Tested by

no test coverage detected