Skip to content

Commit

Permalink
flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Jan 3, 2025
1 parent 396cfde commit 91f97a3
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ def _extract_cores_active_time(
chip_activity[x, y] = (activity_times.sum(), n_cores)
return chip_activity


def _assume_core_always_active(
active_cores: Dict[Tuple[int, int], int],
execute_on_machine_ms: float) -> ChipActiveTime:
Expand All @@ -245,6 +246,7 @@ def _assume_core_always_active(
(execute_on_machine_ms * n_cores) / _MS_PER_SECOND, n_cores)
return chip_activity


def _make_extra_monitor_core_use(
time_ms: int, machine: Machine, extra_monitors_per_board: int,
extra_monitors_per_chip: int) -> ChipActiveTime:
Expand Down

0 comments on commit 91f97a3

Please sign in to comment.