File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed
Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -390,6 +390,8 @@ def reset(self):
390390 self .total_count = 0
391391 self .min_value = sys .maxsize
392392 self .max_value = 0
393+ self .start_time_stamp_msec = sys .maxsize
394+ self .end_time_stamp_msec = 0
393395
394396 def __iter__ (self ):
395397 '''Returns the recorded iterator if iter(self) is called
Original file line number Diff line number Diff line change 2727import os
2828import pytest
2929import zlib
30+ import sys
3031
3132from ctypes import addressof
3233from ctypes import c_uint8
@@ -282,6 +283,8 @@ def test_reset():
282283 histogram .reset ()
283284 assert (histogram .get_total_count () == 0 )
284285 assert (histogram .get_value_at_percentile (99.99 ) == 0 )
286+ assert (histogram .get_start_time_stamp () == sys .maxsize )
287+ assert (histogram .get_end_time_stamp () == 0 )
285288
286289@pytest .mark .basic
287290def test_invalid_significant_figures ():
You can’t perform that action at this time.
0 commit comments