diff --git a/omnistat/collector_rms.py b/omnistat/collector_rms.py index 07b83959..9ae2fe1a 100644 --- a/omnistat/collector_rms.py +++ b/omnistat/collector_rms.py @@ -36,7 +36,7 @@ import os import platform -from prometheus_client import Gauge, CollectorRegistry +from prometheus_client import Gauge import omnistat.utils as utils from omnistat.collector_base import Collector diff --git a/omnistat/query.py b/omnistat/query.py index 9794aa90..226548a2 100755 --- a/omnistat/query.py +++ b/omnistat/query.py @@ -479,7 +479,7 @@ def generate_report_card(self): print("") print("") - print("Total GPU Energy Consumed = %.2f kWh" % self.gpu_energy_total_kwh) + print("Approximate Total GPU Energy Consumed = %.2f kWh" % self.gpu_energy_total_kwh) print("") print("--") @@ -677,7 +677,7 @@ def dumpFile(self, outputFile): Story.append(Spacer(1, 0.2 * inch)) - ptext = """Total GPU Energy Consumed = %.2f kWh""" % (self.gpu_energy_total_kwh) + ptext = """Approximate Total GPU Energy Consumed = %.2f kWh""" % (self.gpu_energy_total_kwh) Story.append(Paragraph(ptext, normal)) # --