At some point self.testduration = 10 was changed to self.testduration = 30 but retained the comment, "ten seconds" Just change the comment to say, "in seconds" so it's clear what unit we are talking about. Signed-off-by: John Kacur <jkacur@xxxxxxxxxx> --- src/hwlatdetect/hwlatdetect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hwlatdetect/hwlatdetect.py b/src/hwlatdetect/hwlatdetect.py index c5b3a689dcd1..68df58f7e2d0 100755 --- a/src/hwlatdetect/hwlatdetect.py +++ b/src/hwlatdetect/hwlatdetect.py @@ -130,7 +130,7 @@ class Detector: if not self.debugfs.mount(): raise RuntimeError("failed to mount debugfs") self.samples = [] - self.testduration = 30 # ten seconds + self.testduration = 30 # in seconds self.have_msr = False self.initsmi = [] if os.path.exists('/usr/sbin/rdmsr'): -- 2.38.1