/third_party/gn/src/gn/ |
D | scheduler.cc | 14 Scheduler* g_scheduler = nullptr; 16 Scheduler::Scheduler() in Scheduler() function in Scheduler 22 Scheduler::~Scheduler() { in ~Scheduler() 27 bool Scheduler::Run() { in Run() 41 void Scheduler::Log(const std::string& verb, const std::string& msg) { in Log() 45 void Scheduler::FailWithError(const Err& err) { in FailWithError() 58 void Scheduler::ScheduleWork(std::function<void()> work) { in ScheduleWork() 71 void Scheduler::AddGenDependency(const base::FilePath& file) { in AddGenDependency() 76 std::vector<base::FilePath> Scheduler::GetGenDependencies() const { in GetGenDependencies() 81 void Scheduler::AddWrittenFile(const SourceFile& file) { in AddWrittenFile() [all …]
|
D | scheduler.h | 25 class Scheduler { 27 Scheduler(); 28 ~Scheduler(); 150 Scheduler(const Scheduler&) = delete; 151 Scheduler& operator=(const Scheduler&) = delete; 154 extern Scheduler* g_scheduler;
|
D | test_with_scheduler.h | 17 Scheduler& scheduler() { return scheduler_; } in scheduler() 21 Scheduler scheduler_;
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/src/ |
D | scheduler_test.cpp | 25 auto scheduler = std::unique_ptr<marl::Scheduler>( in TEST_F() 26 new marl::Scheduler(marl::Scheduler::Config())); in TEST_F() 30 auto scheduler = std::unique_ptr<marl::Scheduler>( in TEST_F() 31 new marl::Scheduler(marl::Scheduler::Config())); in TEST_F() 33 auto got = marl::Scheduler::get(); in TEST_F() 36 got = marl::Scheduler::get(); in TEST_F() 41 marl::Scheduler::Config cfg; in TEST_F() 44 auto scheduler = std::unique_ptr<marl::Scheduler>(new marl::Scheduler(cfg)); in TEST_F() 57 auto scheduler = marl::Scheduler::get(); in TEST_P() 65 (new marl::Scheduler(marl::Scheduler::Config()))->bind(); in TEST_P() [all …]
|
D | scheduler.cpp | 71 inline marl::Scheduler::Config setConfigDefaults( in setConfigDefaults() 72 const marl::Scheduler::Config& cfgIn) { in setConfigDefaults() 73 marl::Scheduler::Config cfg{cfgIn}; in setConfigDefaults() 88 thread_local Scheduler* Scheduler::bound = nullptr; 90 Scheduler* Scheduler::get() { in get() 94 void Scheduler::bind() { in bind() 113 void Scheduler::unbind() { in unbind() 132 Scheduler::Scheduler(const Config& config) in Scheduler() function in marl::Scheduler 148 Scheduler::~Scheduler() { in ~Scheduler() 168 void Scheduler::enqueue(Task&& task) { in enqueue() [all …]
|
D | marl_bench.h | 38 marl::Scheduler::Config cfg, in run() 42 marl::Scheduler scheduler(cfg); in run() 53 run(state, marl::Scheduler::Config{}, f); in run()
|
D | marl_test.h | 57 marl::Scheduler::Config cfg; in SetUp() 62 auto scheduler = new marl::Scheduler(cfg); in SetUp() 67 auto scheduler = marl::Scheduler::get(); in TearDown()
|
/third_party/boost/boost/thread/executors/ |
D | scheduler.hpp | 58 template <class Scheduler, class Executor> 62 typedef typename Scheduler::clock clock; 63 typedef typename Scheduler::work work; 66 …resubmit_at_executor(Scheduler& sch, Executor& ex, chrono::time_point<clock, Duration> const& tp) : in resubmit_at_executor() 93 Scheduler& underlying_scheduler() in underlying_scheduler() 109 Scheduler& sch; 120 template <class Scheduler, class Executor> 124 typedef typename Scheduler::clock clock; 125 typedef typename Scheduler::work work; 126 typedef resubmit_at_executor<Scheduler, Executor> the_executor; [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/include/marl/ |
D | scheduler.h | 44 class Scheduler { 96 Scheduler(const Config&); 101 ~Scheduler(); 105 static Scheduler* get(); 223 friend class Scheduler; variable 276 Scheduler(const Scheduler&) = delete; 277 Scheduler(Scheduler&&) = delete; 278 Scheduler& operator=(const Scheduler&) = delete; 279 Scheduler& operator=(Scheduler&&) = delete; 337 Worker(Scheduler* scheduler, Mode mode, uint32_t id); [all …]
|
D | blockingcall.h | 36 auto scheduler = Scheduler::get(); in call() 44 Scheduler::unbind(); in call() 61 auto scheduler = Scheduler::get(); in call() 69 Scheduler::unbind(); in call()
|
/third_party/mindspore/mindspore/ccsrc/ps/ |
D | scheduler.h | 26 class Scheduler { 28 static Scheduler &GetInstance() { in GetInstance() 29 static Scheduler instance; in GetInstance() 36 Scheduler() = default; 37 ~Scheduler() = default; 38 Scheduler(const Scheduler &) = delete; 39 Scheduler &operator=(const Scheduler &) = delete;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/HardwareUnits/ |
D | Scheduler.cpp | 22 void Scheduler::initializeStrategy(std::unique_ptr<SchedulerStrategy> S) { in initializeStrategy() 32 void Scheduler::dump() const { in dump() 40 Scheduler::Status Scheduler::isAvailable(const InstRef &IR) { in isAvailable() 47 return Scheduler::SC_BUFFERS_FULL; in isAvailable() 49 return Scheduler::SC_DISPATCH_GROUP_STALL; in isAvailable() 60 return Scheduler::SC_LOAD_QUEUE_FULL; in isAvailable() 62 return Scheduler::SC_STORE_QUEUE_FULL; in isAvailable() 64 return Scheduler::SC_AVAILABLE; in isAvailable() 70 void Scheduler::issueInstructionImpl( in issueInstructionImpl() 99 void Scheduler::issueInstruction( in issueInstruction() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | TaskQueue.h | 69 TaskQueue(ThreadPool &Scheduler) : Scheduler(Scheduler) { (void)Scheduler; } in TaskQueue() argument 73 Scheduler.wait(); in ~TaskQueue() 97 Scheduler.async(std::move(T)); in async() 120 Scheduler.async(std::move(Continuation)); in completeTask() 124 ThreadPool &Scheduler; variable
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/docs/ |
D | scheduler.md | 1 # `marl::Scheduler` 5 - [`marl::Scheduler`](#marlscheduler) 10 - [`marl::Scheduler::Worker::run()`](#marlschedulerworkerrun) 11 - [`marl::Scheduler::Worker::runUntilIdle()`](#marlschedulerworkerrununtilidle) 12 - [`marl::Scheduler::Worker::waitForWork()`](#marlschedulerworkerwaitforwork) 13 - [`marl::Scheduler::Worker::spinForWork()`](#marlschedulerworkerspinforwork) 14 - [`marl::Scheduler::Worker::suspend()`](#marlschedulerworkersuspend) 19 The `marl::Scheduler` is the most complex part of marl and is responsible for executing tasks and k… 28 Binding is made using the `marl::Scheduler::bind()` and `marl::Scheduler::unbind()` methods. 32 …rious synchronization primitives to be called without requiring a pointer to the `marl::Scheduler`. [all …]
|
/third_party/boost/boost/statechart/ |
D | event_processor.hpp | 23 template< class Scheduler > 30 Scheduler & my_scheduler() const in my_scheduler() 35 typedef typename Scheduler::processor_handle processor_handle; 59 typedef const typename Scheduler::processor_context & my_context; 76 Scheduler & myScheduler_;
|
D | processor_container.hpp | 61 class Scheduler, 66 typedef event_processor< Scheduler > processor_base_type; 81 Scheduler & scheduler, const processor_handle & handle in processor_context() 94 Scheduler & my_scheduler() const { return scheduler_; } in my_scheduler() 104 Scheduler & scheduler_; 108 friend class event_processor< Scheduler >; 112 WorkItem create_processor( processor_handle & handle, Scheduler & scheduler ) in create_processor() 128 processor_handle & handle, Scheduler & scheduler, Arg1 arg1 ) in create_processor() 147 processor_handle & handle, Scheduler & scheduler, Arg1 arg1, Arg2 arg2 ) in create_processor() 167 processor_handle & handle, Scheduler & scheduler, in create_processor() [all …]
|
D | asynchronous_state_machine.hpp | 33 class Scheduler = fifo_scheduler<>, 38 public event_processor< Scheduler > 42 typedef event_processor< Scheduler > processor_base;
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | PostRASchedulerList.cpp | 314 SchedulePostRATDList Scheduler(Fn, MLI, AA, RegClassInfo, AntiDepMode, in runOnMachineFunction() local 331 Scheduler.startBlock(&MBB); in runOnMachineFunction() 344 Scheduler.enterRegion(&MBB, I, Current, CurrentCount - Count); in runOnMachineFunction() 345 Scheduler.setEndIndex(CurrentCount); in runOnMachineFunction() 346 Scheduler.schedule(); in runOnMachineFunction() 347 Scheduler.exitRegion(); in runOnMachineFunction() 348 Scheduler.EmitSchedule(); in runOnMachineFunction() 351 Scheduler.Observe(MI, CurrentCount); in runOnMachineFunction() 360 Scheduler.enterRegion(&MBB, MBB.begin(), Current, CurrentCount); in runOnMachineFunction() 361 Scheduler.setEndIndex(CurrentCount); in runOnMachineFunction() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/HardwareUnits/ |
D | Scheduler.h | 70 class Scheduler : public HardwareUnit { 157 Scheduler(const MCSchedModel &Model, LSUnitBase &Lsu) in Scheduler() function 158 : Scheduler(Model, Lsu, nullptr) {} in Scheduler() 160 Scheduler(const MCSchedModel &Model, LSUnitBase &Lsu, in Scheduler() function 162 : Scheduler(std::make_unique<ResourceManager>(Model), Lsu, in Scheduler() 165 Scheduler(std::unique_ptr<ResourceManager> RM, LSUnitBase &Lsu, in Scheduler() function
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/ |
D | README.md | 28 marl::Scheduler scheduler(marl::Scheduler::Config::allCores()); 139 #### Create one instance of `marl::Scheduler`, use it for the lifetime of the process 141 The `marl::Scheduler` constructor can be expensive as it may spawn a number of hardware threads. \ 142 Destructing the `marl::Scheduler` requires waiting on all tasks to complete. 144 Multiple `marl::Scheduler`s may fight each other for hardware thread utilization. 146 For these reasons, it is recommended to create a single `marl::Scheduler` for the lifetime of your … 152 marl::Scheduler scheduler(marl::Scheduler::Config::allCores()); 164 …marl::Scheduler` may be simultaneously bound to any number of threads, and the scheduler can be re… 171 marl::Scheduler* scheduler = marl::Scheduler::get(); 186 … terminating the thread. Forgetting to unbind will result in the `marl::Scheduler` destructor bloc… [all …]
|
/third_party/mindspore/mindspore/lite/src/ |
D | scheduler.cc | 191 int Scheduler::HandleBuildinCpuKernelWeight(kernel::SubGraphType belong_subgraph_type, kernel::Lite… in HandleBuildinCpuKernelWeight() 214 int Scheduler::InitKernels(std::vector<kernel::LiteKernel *> dst_kernels) { in InitKernels() 246 int Scheduler::SchedulePreProcess() { in SchedulePreProcess() 268 int Scheduler::CheckCpuValid(std::vector<kernel::LiteKernel *> *dst_kernels) { in CheckCpuValid() 281 int Scheduler::Schedule(std::vector<kernel::LiteKernel *> *dst_kernels) { in Schedule() 371 int Scheduler::CheckInputParam(std::vector<kernel::LiteKernel *> *dst_kernels) { in CheckInputParam() 387 int Scheduler::ReplaceDelegateKernels(std::vector<kernel::LiteKernel *> *dst_kernels) { in ReplaceDelegateKernels() 462 int Scheduler::InitDelegateKernels(std::vector<kernel::LiteKernel *> *dst_kernels) { in InitDelegateKernels() 524 void Scheduler::FindNodeInoutTensors(const lite::LiteGraph::Node &node, std::vector<Tensor *> *inpu… in FindNodeInoutTensors() 540 int Scheduler::InferNodeShape(const lite::LiteGraph::Node *node) { in InferNodeShape() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/Stages/ |
D | ExecuteStage.cpp | 26 HWStallEvent::GenericEventType toHWStallEventType(Scheduler::Status Status) { in toHWStallEventType() 28 case Scheduler::SC_LOAD_QUEUE_FULL: in toHWStallEventType() 30 case Scheduler::SC_STORE_QUEUE_FULL: in toHWStallEventType() 32 case Scheduler::SC_BUFFERS_FULL: in toHWStallEventType() 34 case Scheduler::SC_DISPATCH_GROUP_STALL: in toHWStallEventType() 36 case Scheduler::SC_AVAILABLE: in toHWStallEventType() 44 if (Scheduler::Status S = HWS.isAvailable(IR)) { in isAvailable()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/Stages/ |
D | ExecuteStage.h | 29 Scheduler &HWS; 50 ExecuteStage(Scheduler &S) : ExecuteStage(S, false) {} in ExecuteStage() 51 ExecuteStage(Scheduler &S, bool ShouldPerformBottleneckAnalysis) in ExecuteStage()
|
/third_party/skia/third_party/externals/swiftshader/src/Vulkan/ |
D | VkQueue.hpp | 25 class Scheduler; 45 Queue(Device *device, marl::Scheduler *scheduler); 93 void taskLoop(marl::Scheduler *scheduler);
|
/third_party/skia/third_party/externals/swiftshader/third_party/marl/examples/ |
D | tasks_in_tasks.cpp | 26 marl::Scheduler::Config cfg; in main() 29 marl::Scheduler scheduler(cfg); in main()
|