We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 052b405 commit a2f8bf5Copy full SHA for a2f8bf5
1 file changed
hwcomponents_adc/main.py
@@ -180,7 +180,7 @@ def convert(self) -> tuple[float, float]:
180
(energy, latency): Tuple in (Joules, seconds).
181
"""
182
# Assume leakage is 20% of the total energy
183
- return self.get_energy() * 0.8, 0.0
+ return self.get_energy() * 0.8, 1 / self.throughput
184
185
@action
186
def drive(self) -> tuple[float, float]:
0 commit comments