message: Per model analysis for TFRT.
diff: @@ -711,18 +711,21 @@ void EventForest::ProcessWorker() {
  }
  void EventForest::ProcessModelIds() {
  - auto session_run_event_list =
  - gtl::FindOrNull(event_node_map_, HostEventType::kSessionRun);
  - if (!session_run_event_list) return;
  - for (const auto& session_run_event : *session_run_event_list) {
  - auto group_id = session_run_event->GetGroupId();
  + const int64 model_id_event_type_list[] = {HostEventType::kSessionRun,
  + HostEventType::kTfrtModelRun};
  + for (const int64 event_type : model_id_event_type_list) {
  + auto event_list = gtl::FindOrNull(event_node_map_, event_type);
  + if (!event_list) continue;
  + for (const auto& event : *event_list) {
  + auto group_id = event->GetGroupId();
  if (!group_id.has_value()) continue;
  absl::optional<XStatVisitor> model_id =
  - session_run_event->GetEventVisitor().GetStat(StatType::kModelId);
  + event->GetEventVisitor().GetStat(StatType::kModelId);
  if (!model_id.has_value()) continue;
  group_metadata_map_[*group_id].model_id = model_id->ToString();
  }
  }
  +}
  void EventForest::AddPlane(
  const std::function<XPlaneVisitor(const XPlane*)> visitor_factory,
  