Skip to content

Commit

Permalink
Powerspy2 must have mW unit
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneTR committed Jan 4, 2023
1 parent 3392ccb commit 641fab7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/metric_providers/psu/energy/ac/powerspy2/provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def __init__(self, resolution):
self._metric_name = 'psu_energy_powerspy2'
self._metrics = {'time': int, 'value': int}
self._resolution = resolution
self._unit = 'mW'
super().__init__()

def start_profiling(self, containers=None):
Expand Down

0 comments on commit 641fab7

Please sign in to comment.