Skip to content

Commit

Permalink
Print estimated cycle count during optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
hanno-becker committed Mar 25, 2024
1 parent 2d48cf4 commit 981b55b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slothy/core/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -2789,7 +2789,7 @@ def get_cpi(stalls):
cs = self._model.tree.num_nodes
if cc == 0:
return ""
return f" (IPC ~ {cs / cc:.2f})"
return f" (Cycles ~ {psize // self._model.pfactor}, IPC ~ {cs / cc:.2f})"
printer = get_cpi
minlist = [self._model.stalls]
elif self.config.has_objective and not self.config.ignore_objective:
Expand Down

0 comments on commit 981b55b

Please sign in to comment.