Searched refs:stat_type (Results 1 – 9 of 9) sorted by relevance
/external/tensorflow/tensorflow/core/profiler/utils/ |
D | xplane_visitor.cc | 128 absl::optional<int64_t> stat_type = stat_type_getter(metadata.name()); in BuildStatTypeMap() local 129 if (stat_type.has_value()) { in BuildStatTypeMap() 130 auto result = stat_type_by_id_.emplace(metadata_id, *stat_type); in BuildStatTypeMap() 132 stat_metadata_by_type_.emplace(*stat_type, &metadata); in BuildStatTypeMap() 155 int64_t stat_type) const { in GetStatMetadataByType() 156 const auto it = stat_metadata_by_type_.find(stat_type); in GetStatMetadataByType()
|
D | xplane_schema.cc | 333 absl::string_view GetStatTypeStr(StatType stat_type) { in GetStatTypeStr() argument 334 return GetStatTypeStrMap().at(stat_type); in GetStatTypeStr() 338 if (auto stat_type = gtl::FindOrNull(GetStatTypeMap(), stat_name)) { in FindStatType() local 339 return *stat_type; in FindStatType() 367 bool IsInternalStat(absl::optional<int64_t> stat_type) { in IsInternalStat() argument 369 if (!stat_type.has_value()) return false; in IsInternalStat() 370 switch (*stat_type) { in IsInternalStat()
|
D | xplane_visitor.h | 104 absl::optional<XStatVisitor> GetStat(int64_t stat_type) const; 108 int64_t stat_type, const XStatMetadata& stat_metadata) const { in GetStat() argument 111 return XStatVisitor(plane_, &stat, &stat_metadata, stat_type); in GetStat() 305 const XStatMetadata* GetStatMetadataByType(int64_t stat_type) const; 327 absl::optional<XStatVisitor> XStatsOwner<T>::GetStat(int64_t stat_type) const { in GetStat() argument 328 const auto* stat_metadata = plane_->GetStatMetadataByType(stat_type); in GetStat() 330 return GetStat(stat_type, *stat_metadata); in GetStat()
|
D | xplane_schema.h | 305 absl::string_view GetStatTypeStr(StatType stat_type); 307 bool IsStatType(StatType stat_type, absl::string_view stat_name); 309 inline bool IsStatType(StatType stat_type, absl::string_view stat_name) { in IsStatType() argument 310 return GetStatTypeStr(stat_type) == stat_name; in IsStatType() 319 bool IsInternalStat(absl::optional<int64_t> stat_type);
|
D | group_events.cc | 281 int64_t stat_type) const { in GetContextStat() 288 if (absl::optional<XStatVisitor> stat = node->visitor_.GetStat(stat_type)) { in GetContextStat() 319 XStat* EventNode::FindOrAddStatByType(int64_t stat_type) { in FindOrAddStatByType() argument 321 const XStatMetadata* stat_metadata = plane.GetStatMetadataByType(stat_type); in FindOrAddStatByType() 446 for (auto stat_type : parent_stat_types) { in ConnectInterThread() local 448 parent_event_node.GetContextStat(stat_type); in ConnectInterThread() 461 for (auto stat_type : *child_stat_types) { in ConnectInterThread() 463 child_event_node.GetContextStat(stat_type); in ConnectInterThread()
|
D | xplane_test_utils.cc | 78 StatType stat_type = stat_type_and_value.first; in CreateXEvent() local 82 plane_builder->GetOrCreateStatMetadata(GetStatTypeStr(stat_type))); in CreateXEvent()
|
D | group_events.h | 87 absl::optional<XStatVisitor> GetContextStat(int64_t stat_type) const; 114 XStat* FindOrAddStatByType(int64_t stat_type);
|
/external/compiler-rt/lib/tsan/rtl/ |
D | tsan_mutex.cc | 211 Mutex::Mutex(MutexType type, StatType stat_type) { in Mutex() argument 218 stat_type_ = stat_type; in Mutex()
|
D | tsan_mutex.h | 45 explicit Mutex(MutexType type, StatType stat_type);
|