powerstat is not scaling the GPU power stats correctly for non-1 second delay intervals

Bug #1699134 reported by Colin Ian King on 2017-06-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
powerstat (Ubuntu)
Colin Ian King

Bug Description

The GPU power consumption stats are only correct if the sampling delay is 1 second. It needs to be scaled by the sample interval for correct stats when the sample delay is not 1 second.

Thanks to Adriano Fantini for spotting this bug.

Revision history for this message
Colin Ian King (colin-king) wrote :
Changed in powerstat (Ubuntu):
importance: Undecided → Medium
assignee: nobody → Colin Ian King (colin-king)
status: New → In Progress
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package powerstat - 0.02.12-1

powerstat (0.02.12-1) unstable; urgency=medium

  * Makefile: bump version
  * Makefile: add snapcraft files to dist rule
  * Fix incorrect GPU stats when sample rate is not 1 second (LP: #1699134)
  * snapcraft: add default type and grade keys
  * snapcraft: Makefile: remove icon hack
  * reduce the scope of the variable 'buf'
  * snapcraft.yaml: remove bogos unnecessary libs
  * Add snapcraft files
  * update copyright year

 -- Colin King <email address hidden> Tue, 20 Jun 2017 14:00:01 +0100

Changed in powerstat (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers