Skip to content

Commit

Permalink
quick fix to get correct min cycle no. for absolute total cycles calc…
Browse files Browse the repository at this point in the history
…ulation when using multiple tags (#480)
  • Loading branch information
eafurst authored Mar 1, 2021
1 parent 06828c7 commit 909dbbf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions software/py/vanilla_parser/stats_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1905,12 +1905,12 @@ def __generate_tile_stats(self, traces, tiles):
# For calculating manycore stats, all tiles are considerd to be involved
# For calculating tile group stats, only tiles inside the tile group are considered
# For manycore (all tiles that participate in tag are included)
manycore_cycle_parallel_earliest_start = {tag: traces[0]["global_ctr"] for tag in tags}
manycore_cycle_parallel_earliest_start = {tag: traces[-1]["global_ctr"] for tag in tags}
manycore_cycle_parallel_latest_end = {tag: traces[0]["global_ctr"] for tag in tags}
manycore_cycle_parallel_cnt = {tag: 0 for tag in tags}

# For each tile group (only tiles in a tile group that participate in a tag are included)
tile_group_cycle_parallel_earliest_start = {tag: [traces[0]["global_ctr"] for tg_id in range(self.max_tile_groups)] for tag in tags}
tile_group_cycle_parallel_earliest_start = {tag: [traces[-1]["global_ctr"] for tg_id in range(self.max_tile_groups)] for tag in tags}
tile_group_cycle_parallel_latest_end = {tag: [traces[0]["global_ctr"] for tg_id in range(self.max_tile_groups)] for tag in tags}
tile_group_cycle_parallel_cnt = {tag: [traces[0]["global_ctr"] for tg_id in range(self.max_tile_groups)] for tag in tags}

Expand Down

0 comments on commit 909dbbf

Please sign in to comment.