Searched refs:stat_type (Results 1 – 8 of 8) sorted by relevance
74 int64 stat_type) { in GetStat() argument76 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() local165 const XStat* stat = parent_event_node->GetContextStat(stat_type); in ConnectInterThread()180 for (auto stat_type : stat_types) { in ConnectInterThread() local181 const XStat* stat = child_event_node->GetContextStat(stat_type); in ConnectInterThread()
82 absl::optional<int64> stat_type = stat_type_getter(metadata.name()); in BuildStatTypeMap() local83 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()
147 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() argument152 return GetStatTypeStr(stat_type) == stat_name; in IsStatType()
173 absl::string_view GetStatTypeStr(StatType stat_type) { in GetStatTypeStr() argument174 return GetStatTypeStrMap().at(stat_type); in GetStatTypeStr()178 if (auto stat_type = gtl::FindOrNull(GetStatTypeMap(), stat_name)) { in FindStatType() local179 return *stat_type; in FindStatType()
84 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() argument239 metadata_->GetStatMetadataId(stat_type); in GetStats()
63 const XStat* GetContextStat(int64 stat_type) const;
45 explicit Mutex(MutexType type, StatType stat_type);
211 Mutex::Mutex(MutexType type, StatType stat_type) { in Mutex() argument218 stat_type_ = stat_type; in Mutex()