File tree 3 files changed +4
-4
lines changed 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):
44
44
"""
45
45
End the current active segment.
46
46
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
48
48
system time will be used.
49
49
"""
50
50
entity = self .get_trace_entity ()
@@ -75,7 +75,7 @@ def end_subsegment(self, end_time=None):
75
75
End the current active segment. Return False if there is no
76
76
subsegment to end.
77
77
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
79
79
system time will be used.
80
80
"""
81
81
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):
64
64
Close the trace entity by setting `end_time`
65
65
and flip the in progress flag to False.
66
66
67
- :param int end_time: Epoch in seconds. If not specified
67
+ :param float end_time: Epoch in seconds. If not specified
68
68
current time will be used.
69
69
"""
70
70
self ._check_ended ()
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ def close(self, end_time=None):
133
133
and flip the in progress flag to False. Also decrement
134
134
parent segment's ref counter by 1.
135
135
136
- :param int end_time: Epoch in seconds. If not specified
136
+ :param float end_time: Epoch in seconds. If not specified
137
137
current time will be used.
138
138
"""
139
139
super ().close (end_time )
You can’t perform that action at this time.
0 commit comments