Searched refs:VersionCtx (Results 1 – 9 of 9) sorted by relevance
/ohos5.0/foundation/resourceschedule/ffrt/src/core/ |
H A D | version_ctx.cpp | 22 static inline void BuildConsumeRelationship(VersionCtx* version, SCPUEUTask* consumer) in BuildConsumeRelationship() 33 static inline void BuildProducerProducerRelationship(VersionCtx* preVersion, SCPUEUTask* nextProduc… in BuildProducerProducerRelationship() 41 void VersionCtx::AddConsumer(SCPUEUTask* consumer, NestType nestType) in AddConsumer() 45 VersionCtx* beConsumeVersion = this; in AddConsumer() 57 void VersionCtx::AddProducer(SCPUEUTask* producer) in AddProducer() 63 VersionCtx* preVersion = parentVersion->last; in AddProducer() 71 void VersionCtx::onProduced() in onProduced() 92 void VersionCtx::onConsumed(SCPUEUTask* consumer) in onConsumed() 105 void VersionCtx::CreateChildVersion(SCPUEUTask* task __attribute__((unused)), DataStatus dataStatus) in CreateChildVersion() 109 last = new (SimpleAllocator<VersionCtx>::AllocMem()) VersionCtx(this->signature, this, prev); in CreateChildVersion() [all …]
|
H A D | version_ctx.h | 31 struct VersionCtx : private NonCopyable { struct 32 VersionCtx(const void* signature, VersionCtx* next, VersionCtx* last) in VersionCtx() argument 38 VersionCtx* next {nullptr}; argument 40 VersionCtx* last {nullptr}; 90 inline void MergeConsumerInDep(VersionCtx* v) in MergeConsumerInDep() argument 98 inline void MergeProducerOutDep(VersionCtx* v) in MergeProducerOutDep() argument
|
H A D | entity.cpp | 21 VersionCtx* Entity::VA2Ctx(const void* p, SCPUEUTask* task __attribute__((unused))) in VA2Ctx() 27 auto version = new (SimpleAllocator<VersionCtx>::AllocMem()) VersionCtx(p, nullptr, nullptr); in VA2Ctx() 35 VersionCtx* cur = *it; in RecycleVersion() 36 VersionCtx* next = cur->next; in RecycleVersion() 42 SimpleAllocator<VersionCtx>::FreeMem(cur); in RecycleVersion() 49 SimpleAllocator<VersionCtx>::FreeMem(next); in RecycleVersion()
|
H A D | entity.h | 26 struct VersionCtx; 35 VersionCtx* VA2Ctx(const void* p, SCPUEUTask* task); 38 std::list<VersionCtx*> versionTrashcan; // VersionCtx to be deleted 39 std::unordered_map<const void*, VersionCtx*> vaMap;
|
/ohos5.0/foundation/resourceschedule/ffrt/src/dm/ |
H A D | sdependence_manager.cpp | 38 SimpleAllocator<VersionCtx>::Instance(); in SDependenceManager() 130 std::vector<std::pair<VersionCtx*, NestType>> inDatas; in onSubmit() 131 std::vector<std::pair<VersionCtx*, NestType>> outDatas; in onSubmit() 211 std::vector<VersionCtx*> waitDatas; in onWait() 305 …const std::vector<const void*>& outDeps, std::vector<std::pair<VersionCtx*, NestType>>& inVersions, in MapSignature2Deps() argument 306 std::vector<std::pair<VersionCtx*, NestType>>& outVersions) in MapSignature2Deps() 311 VersionCtx* version = nullptr; in MapSignature2Deps() 336 VersionCtx* version = nullptr; in MapSignature2Deps()
|
H A D | sdependence_manager.h | 52 …const std::vector<const void*>& outDeps, std::vector<std::pair<VersionCtx*, NestType>>& inVersions, 53 std::vector<std::pair<VersionCtx*, NestType>>& outVersions);
|
/ohos5.0/foundation/resourceschedule/ffrt/src/tm/ |
H A D | scpu_task.h | 25 std::unordered_set<VersionCtx*> ins; 26 std::unordered_set<VersionCtx*> outs;
|
H A D | cpu_task.h | 36 struct VersionCtx;
|
/ohos5.0/foundation/resourceschedule/ffrt/src/sched/ |
H A D | scheduler.h | 51 void onWait(const std::vector<VersionCtx*>& waitDatas, int64_t deadline) in onWait() 119 void UpdateVersion(VersionCtx* data, int64_t deadline) in UpdateVersion()
|