File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ def end_segment(self, end_time=None):
4444 """
4545 End the current active segment.
4646
47- :param int end_time: epoch in seconds. If not specified the current
47+ :param float end_time: epoch in seconds. If not specified the current
4848 system time will be used.
4949 """
5050 entity = self .get_trace_entity ()
@@ -75,7 +75,7 @@ def end_subsegment(self, end_time=None):
7575 End the current active segment. Return False if there is no
7676 subsegment to end.
7777
78- :param int end_time: epoch in seconds. If not specified the current
78+ :param float end_time: epoch in seconds. If not specified the current
7979 system time will be used.
8080 """
8181 subsegment = self .get_trace_entity ()
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def close(self, end_time=None):
6464 Close the trace entity by setting `end_time`
6565 and flip the in progress flag to False.
6666
67- :param int end_time: Epoch in seconds. If not specified
67+ :param float end_time: Epoch in seconds. If not specified
6868 current time will be used.
6969 """
7070 self ._check_ended ()
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ def close(self, end_time=None):
133133 and flip the in progress flag to False. Also decrement
134134 parent segment's ref counter by 1.
135135
136- :param int end_time: Epoch in seconds. If not specified
136+ :param float end_time: Epoch in seconds. If not specified
137137 current time will be used.
138138 """
139139 super ().close (end_time )
You can’t perform that action at this time.
0 commit comments