We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a42f1d commit 0d39944Copy full SHA for 0d39944
codeguru_profiler_agent/model/profile.py
@@ -43,9 +43,9 @@ def end(self):
43
@end.setter
44
def end(self, value):
45
self._validate_positive_number(value)
46
- if value <= self.start:
+ if value < self.start:
47
raise ValueError(
48
- "Profile end value must be bigger than {}, got {}".format(self.start, value))
+ "Profile end value must be greater than or equals to {}, got {}".format(self.start, value))
49
self._end = value
50
# this is the total cpu time spent in this application since start, not just the overhead
51
self.cpu_time_seconds = time.process_time() - self._start_process_time
0 commit comments