File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
codeguru_profiler_agent/model Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ def end(self, value):
4545 self ._validate_positive_number (value )
4646 if value < self .start :
4747 raise ValueError (
48- "Profile end value must be greater than or equals to {}, got {}" .format (self .start , value ))
48+ "Profile end value must be greater than or equal to {}, got {}" .format (self .start , value ))
4949 self ._end = value
5050 # this is the total cpu time spent in this application since start, not just the overhead
5151 self .cpu_time_seconds = time .process_time () - self ._start_process_time
@@ -140,6 +140,6 @@ def average_thread_weight(self):
140140 def __str__ (self ):
141141 return "Profile(profiling_group_name=" + self .profiling_group_name \
142142 + ", start=" + to_iso (self .start ) \
143- + ', end=' + "not set " if self .end is None else to_iso (self .end ) \
143+ + ', end=' + "none " if self .end is None else to_iso (self .end ) \
144144 + ', duration_ms=' + str (self .get_active_millis_since_start ()) \
145145 + ')'
You can’t perform that action at this time.
0 commit comments