code: def on_trial_complete(self, trial_runner, trial, result):
      time_total = result.get("time_total_s", -1)
      if time_total != -1:
          self.prev_times.append(time_total)
      super().on_trial_complete(trial_runner, trial, result)
  
file_path: autogluon/core/src/autogluon/core/hpo/ray_tune_scheduler.py
imports: import time
  from ray.tune.schedulers import FIFOScheduler
label_desc: Use image node_id 2 for calling the AvgEarlyStopFIFOScheduler obj's underlying member method code with example usage: obj.on_trial_complete(trial_runner, trial, result) without return types