diff mbox series

[2/4] rteval: cyclictest.py: Remove unused method sample

Message ID 20240425180723.66499-2-jkacur@redhat.com
State New
Headers show
Series [1/4] rteval: cyclictest.py: Fix the description in the xml report | expand

Commit Message

John Kacur April 25, 2024, 6:07 p.m. UTC
Remove the unused method sample() in class RunData

Signed-off-by: John Kacur <jkacur@redhat.com>
---
 rteval/modules/measurement/cyclictest.py | 6 ------
 1 file changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/rteval/modules/measurement/cyclictest.py b/rteval/modules/measurement/cyclictest.py
index 48b86a03cbfc..1ba8b8b2323c 100644
--- a/rteval/modules/measurement/cyclictest.py
+++ b/rteval/modules/measurement/cyclictest.py
@@ -61,12 +61,6 @@  class RunData:
         if value < self.__min:
             self.__min = value
 
-    def sample(self, value):
-        self.__samples[value] += self.__samples.setdefault(value, 0) + 1
-        self.update_max(value)
-        self.update_min(value)
-        self.__numsamples += 1
-
     def bucket(self, index, value):
         self.__samples[index] = self.__samples.setdefault(index, 0) + value
         if value: