Searched refs:sessions_ (Results 1 – 8 of 8) sorted by relevance
/external/tensorflow/tensorflow/core/framework/ |
D | op_segment.cc | 35 for (auto kv : sessions_) delete kv.second; in ~OpSegment() 43 auto item = gtl::FindPtrOrNull(sessions_, session_handle); in FindOrCreate() 59 auto item = gtl::FindPtrOrNull(sessions_, session_handle); in FindOrCreate() 76 Item** item = &sessions_[session_handle]; in AddHold() 88 auto siter = sessions_.find(session_handle); in RemoveHold() 89 if (siter == sessions_.end()) { in RemoveHold() 97 sessions_.erase(siter); in RemoveHold()
|
D | op_segment.h | 81 SessionMap sessions_ GUARDED_BY(mu_);
|
/external/tensorflow/tensorflow/core/distributed_runtime/ |
D | session_mgr.cc | 104 sessions_.insert(std::make_pair(session, std::move(worker_session))); in CreateSession() 110 auto it = sessions_.find(session); in DeleteSession() 111 if (it != sessions_.end()) { in DeleteSession() 112 sessions_.erase(it); in DeleteSession() 122 auto it = sessions_.find(session_handle); in WorkerSessionForSessionLocked() 123 if (it == sessions_.end()) { in WorkerSessionForSessionLocked() 156 for (const auto& session_kv : sessions_) { in SetLogging() 182 for (const auto& session_kv : sessions_) { in RetrieveLogs() 208 for (const auto& session_kv : sessions_) { in ClearLogs()
|
D | master.cc | 102 for (const auto& entry : sessions_) { in GC() 117 for (const auto& handle : handles) sessions_.erase(handle); in GC() 125 session = gtl::FindPtrOrNull(sessions_, handle); in FindMasterSession() 489 CHECK(sessions_.insert({session->handle(), session}).second); in CreateSession() 564 auto iter = sessions_.find(req->session_handle()); in CloseSession() 565 if (iter == sessions_.end()) { in CloseSession() 575 sessions_.erase(iter); in CloseSession() 660 for (const auto& entry : sessions_) { in Reset() 663 sessions_.clear(); in Reset()
|
D | session_mgr.h | 96 std::map<string, std::shared_ptr<WorkerSession>> sessions_ GUARDED_BY(mu_);
|
D | master.h | 87 std::unordered_map<string, MasterSession*> sessions_ GUARDED_BY(mu_);
|
/external/perfetto/src/tracing/api_impl/ |
D | consumer_api.cc | 295 std::map<Handle, std::unique_ptr<TracingSession>> sessions_; member in perfetto::consumer::__anon4d5fe0b30111::TracingController 339 sessions_.emplace(handle, std::unique_ptr<TracingSession>(session)); in Create() 349 auto it = sessions_.find(handle); in StartTracing() 350 if (it == sessions_.end()) { in StartTracing() 360 auto it = sessions_.find(handle); in PollState() 361 if (it == sessions_.end()) in PollState() 370 auto it = sessions_.find(handle); in ReadTrace() 371 if (it == sessions_.end()) { in ReadTrace() 392 auto it = sessions_.find(handle); in Destroy() 393 if (it == sessions_.end()) in Destroy() [all …]
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | direct_session.cc | 168 sessions_.push_back(session); in NewSession() 182 std::swap(sessions_to_reset, sessions_); in Reset() 198 sessions_.erase(std::remove(sessions_.begin(), sessions_.end(), session), in Deregister() 199 sessions_.end()); in Deregister() 204 std::vector<DirectSession*> sessions_ GUARDED_BY(sessions_lock_);
|