Skip to content

Commit

Permalink
Update values
Browse files Browse the repository at this point in the history
  • Loading branch information
rowleya committed Oct 25, 2024
1 parent 62c4564 commit 70df3c5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spinn_machine/version/version_5.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def get_active_energy(
container_energy = 0.0
if n_frames != 0:
container_energy = (
n_frames * self.WATTS_FOR_FRAME_ACTIVE_COST_OVERHEAD * time_s)
n_frames * self.WATTS_PER_FRAME_ACTIVE_COST_OVERHEAD * time_s)
return (
container_energy +
self.get_idle_energy(time_s, n_frames, n_boards, n_chips) +
Expand Down
2 changes: 1 addition & 1 deletion spinn_machine/version/version_spin1.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,5 @@ def _get_router_active_energy(
def _get_core_active_energy(
self, core_active_times: ChipActiveTime) -> float:
return sum(
time * self.WATTS_PER_CHIP_ACTIVE_OVERHEAD
time * self.WATTS_PER_CORE_ACTIVE_OVERHEAD
for time in core_active_times.values())

0 comments on commit 70df3c5

Please sign in to comment.