Skip to content

Commit

Permalink
refactor(processing_time_checker): display in alphabetical order (#5538)
Browse files Browse the repository at this point in the history
Signed-off-by: Takamasa Horibe <[email protected]>
  • Loading branch information
TakaHoribe authored Nov 23, 2023
1 parent 3c60152 commit c171d1c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,9 @@ def print_data(self):
print("-" * len(header_str))

# Print each topic's data
for topic, data in self.data_map.items():
for topic in sorted(self.data_map.keys()):
# Fetch the data for the current topic
data = self.data_map[topic]
# Round the data to the third decimal place for display
data_rounded = round(data, 3)
# Calculate the number of bars to be displayed (clamped to max_display_time)
Expand Down

0 comments on commit c171d1c

Please sign in to comment.