started anaylsis work

This commit is contained in:
Niklas Halle 2025-06-03 13:43:48 +00:00
parent 1f6e0c9e86
commit d11d6afd40
9 changed files with 166075 additions and 102 deletions

View file

@ -108,6 +108,8 @@ def build_dep_trees(end_topics, lat_graph, tr, excluded_path_patterns, time_limi
end_topic: TrTopic
print(f"====={end_topic.name}")
tree_count = 0
pubs = end_topic.publishers
for pub in pubs:
msgs = list(pub.instances)
@ -115,6 +117,8 @@ def build_dep_trees(end_topics, lat_graph, tr, excluded_path_patterns, time_limi
msg: TrPublishInstance
tree = get_dep_tree(msg, lat_graph, tr, excluded_path_patterns, time_limit_s, exact_path=exact_path)
all_trees.append(tree)
tree_count += 1
print(f"Found {tree_count} trees for topic {end_topic.name}")
return all_trees