Skip to content

Commit

Permalink
more documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ayakayorihiro committed Nov 26, 2024
1 parent 56124ed commit 01246dd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tools/profiler/new-profiler-process.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def postprocess(self):
# checking whether the timestamp has a rising edge
if {"signal": clock_name, "value": 1} in events:
clock_cycles += 1
# () is a set.
# Recording the data organization for every kind of probe so I don't forget. () is a set.
# groups-active: cell --> (active groups)
# cell-active: (cells)
# structural-enable: cell --> { child --> (parents) }
Expand Down Expand Up @@ -370,7 +370,6 @@ def create_tree_rankings(trace, tree_dict, path_dict, path_to_edges, all_edges,

# one tree to summarize the entire execution.
def create_aggregate_tree(timeline_map, out_dir, tree_dict, path_dict):
# NOTE: probably can create this on the fly, but my brain is better suited for postprocessing.
path_to_edges, all_edges = create_edge_dict(path_dict)

leaf_nodes_dict = {node_id: 0 for node_id in tree_dict} # how many times was this node a leaf?
Expand Down Expand Up @@ -539,7 +538,7 @@ def main(vcd_filename, cells_json_file, dot_out_dir, flame_out, flames_out_dir):
print("after postprocessing")
print(f"End reading VCD: {datetime.now()}")

include_primitives = False
include_primitives = True

print(f"Start creating trace: {datetime.now()}")

Expand Down

0 comments on commit 01246dd

Please sign in to comment.