/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.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 | 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 | 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/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()
|
D | conditionvariable.h | 80 containers::list<Scheduler::Fiber*> waiting; 127 if (auto fiber = Scheduler::Fiber::current()) { in wait() 166 if (auto fiber = Scheduler::Fiber::current()) { in wait_until()
|
/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/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/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/node/deps/v8/src/compiler/ |
D | scheduler.cc | 30 Scheduler::Scheduler(Zone* zone, Graph* graph, Schedule* schedule, Flags flags, in Scheduler() function in v8::internal::compiler::Scheduler 48 Schedule* Scheduler::ComputeSchedule(Zone* zone, Graph* graph, Flags flags, in ComputeSchedule() 52 (flags & Scheduler::kTempSchedule) ? zone : graph->zone(); in ComputeSchedule() 56 float node_hint_multiplier = (flags & Scheduler::kSplitNodes) ? 1.1 : 1; in ComputeSchedule() 61 Scheduler scheduler(zone, graph, schedule, flags, node_count_hint, in ComputeSchedule() 77 Scheduler::SchedulerData Scheduler::DefaultSchedulerData() { in DefaultSchedulerData() 83 Scheduler::SchedulerData* Scheduler::GetData(Node* node) { in GetData() 87 Scheduler::Placement Scheduler::InitializePlacement(Node* node) { in InitializePlacement() 117 Scheduler::Placement Scheduler::GetPlacement(Node* node) { in GetPlacement() 121 bool Scheduler::IsLive(Node* node) { return GetPlacement(node) != kUnknown; } in IsLive() [all …]
|
D | scheduler.h | 32 class V8_EXPORT_PRIVATE Scheduler { 98 Scheduler(Zone* zone, Graph* graph, Schedule* schedule, Flags flags, 153 DEFINE_OPERATORS_FOR_FLAGS(Scheduler::Flags)
|
/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/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);
|
D | VkDevice.hpp | 33 class Scheduler; 54 …onst VkPhysicalDeviceFeatures *enabledFeatures, const std::shared_ptr<marl::Scheduler> &scheduler); 192 std::shared_ptr<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()
|
D | hello_task.cpp | 27 marl::Scheduler::Config cfg; in main() 30 marl::Scheduler scheduler(cfg); in main()
|
D | primes.cpp | 47 marl::Scheduler scheduler(marl::Scheduler::Config::allCores()); in main()
|