Browse Source

[2225_statistics] update document of Counters.stop()

explicitly distinguishing duration time from date time.

Due to the review comment.
Naoki Kambe 12 years ago
parent
commit
e8ed9fd779
1 changed files with 7 additions and 7 deletions
  1. 7 7
      src/lib/python/isc/statistics/counter.py

+ 7 - 7
src/lib/python/isc/statistics/counter.py

@@ -322,13 +322,13 @@ class Counters():
             isc.cc.data.set(self._start_time, identifier, _start_timer())
 
     def stop(self, *args):
-        """Sets duration time between corresponding time in
-        self._start_time and current time into the value of the
-        identifier. It deletes corresponding time in self._start_time
-        after setting is successfully done. In case of stopping the
-        timer which has never been started, it raises and does
-        nothing. But in case of stopping the time which isn't defined
-        in the spec file, it raises DataNotFoundError"""
+        """Sets duration time in seconds between corresponding date
+        time in self._start_time and current date time into the value
+        of the identifier. It deletes corresponding time in
+        self._start_time after setting is successfully done. In case
+        of stopping the timer which has never been started, it raises
+        and does nothing. But in case of stopping the time which isn't
+        defined in the spec file, it raises DataNotFoundError"""
         identifier = _concat(*args)
         with self._rlock:
             if self._disabled: return