Skip to content

Commit

Permalink
Rename comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ayakayorihiro committed Nov 19, 2024
1 parent 28ab4fa commit 366cdbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/profiler/new-parse-vcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -381,8 +381,8 @@ def create_tree(timeline_map):
stack_len = len(stack)
id_path_list = []
prefix = ""
# obtain the longest prefix of the current stack. Everything after the prefix is a new stack element.
for i in range(1, stack_len+1):
# start from reverse
attempted_prefix = ";".join(stack[0:stack_len-i])
if attempted_prefix in path_prefixes_dict:
prefix = attempted_prefix
Expand Down

0 comments on commit 366cdbb

Please sign in to comment.