Home
last modified time | relevance | path

Searched refs:metadata_mu_ (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/core/common_runtime/eager/
Dcontext.h184 mutex* MetadataMu() LOCK_RETURNED(metadata_mu_) { return &metadata_mu_; } in MetadataMu()
185 bool ShouldStoreStepStats() LOCKS_EXCLUDED(metadata_mu_);
187 bool ShouldStoreGraphs() LOCKS_EXCLUDED(metadata_mu_);
190 void ClearRunMetadata() EXCLUSIVE_LOCKS_REQUIRED(metadata_mu_);
193 LOCKS_EXCLUDED(metadata_mu_);
194 void ClearRunMetadataListener() LOCKS_EXCLUDED(metadata_mu_);
290 mutex metadata_mu_; variable
291 RunMetadata run_metadata_ GUARDED_BY(metadata_mu_);
292 RunMetadataListener* metadata_listener_ GUARDED_BY(metadata_mu_) = nullptr;
300 std::unique_ptr<ScopedStepContainer> step_container_ GUARDED_BY(metadata_mu_);
Dcontext.cc264 mutex_lock l(metadata_mu_); in RegisterRunMetadataListener()
274 mutex_lock l(metadata_mu_); in ClearRunMetadataListener()
279 mutex_lock ml(metadata_mu_); in StartStep()
292 mutex_lock ml(metadata_mu_); in EndStep()
303 mutex_lock ml(metadata_mu_); in StepContainer()
362 mutex_lock ml(metadata_mu_); in ShouldStoreGraphs()
367 mutex_lock ml(metadata_mu_); in ShouldStoreStepStats()
372 mutex_lock ml(metadata_mu_); in SetShouldStoreGraphs()
380 mutex_lock ml(metadata_mu_); in SetShouldStoreStepStats()