Home
last modified time | relevance | path

Searched refs:stat_type (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/core/profiler/utils/
Dgroup_events.cc74 int64 stat_type) { in GetStat() argument
76 if (visitor.GetStatType(stat) == stat_type) { in GetStat()
90 const XStat* EventNode::GetContextStat(int64 stat_type) const { in GetContextStat()
91 if (const XStat* stat = GetStat(*visitor_, *event_, stat_type)) { in GetContextStat()
94 return parent_->GetContextStat(stat_type); in GetContextStat()
164 for (auto stat_type : stat_types) { in ConnectInterThread() local
165 const XStat* stat = parent_event_node->GetContextStat(stat_type); in ConnectInterThread()
180 for (auto stat_type : stat_types) { in ConnectInterThread() local
181 const XStat* stat = child_event_node->GetContextStat(stat_type); in ConnectInterThread()
Dxplane_visitor.cc82 absl::optional<int64> stat_type = stat_type_getter(metadata.name()); in BuildStatTypeMap() local
83 if (stat_type.has_value()) { in BuildStatTypeMap()
84 auto result = stat_metadata_id_map_.emplace(metadata_id, *stat_type); in BuildStatTypeMap()
86 stat_type_map_.emplace(*stat_type, &metadata); in BuildStatTypeMap()
105 absl::optional<int64> XPlaneVisitor::GetStatMetadataId(int64 stat_type) const { in GetStatMetadataId()
106 const auto it = stat_type_map_.find(stat_type); in GetStatMetadataId()
Dxplane_schema.h147 absl::string_view GetStatTypeStr(StatType stat_type);
149 bool IsStatType(StatType stat_type, absl::string_view stat_name);
151 inline bool IsStatType(StatType stat_type, absl::string_view stat_name) { in IsStatType() argument
152 return GetStatTypeStr(stat_type) == stat_name; in IsStatType()
Dxplane_schema.cc173 absl::string_view GetStatTypeStr(StatType stat_type) { in GetStatTypeStr() argument
174 return GetStatTypeStrMap().at(stat_type); in GetStatTypeStr()
178 if (auto stat_type = gtl::FindOrNull(GetStatTypeMap(), stat_name)) { in FindStatType() local
179 return *stat_type; in FindStatType()
Dxplane_visitor.h84 const XStat* GetStats(int64 stat_type) const;
212 absl::optional<int64> GetStatMetadataId(int64 stat_type) const;
237 const XStat* XStatsOwner<T>::GetStats(int64 stat_type) const { in GetStats() argument
239 metadata_->GetStatMetadataId(stat_type); in GetStats()
Dgroup_events.h63 const XStat* GetContextStat(int64 stat_type) const;
/external/compiler-rt/lib/tsan/rtl/
Dtsan_mutex.h45 explicit Mutex(MutexType type, StatType stat_type);
Dtsan_mutex.cc211 Mutex::Mutex(MutexType type, StatType stat_type) { in Mutex() argument
218 stat_type_ = stat_type; in Mutex()