code: def __init__(self, reset_at, emit_at, mode):
      self._time = ElapsedTime()
  
      super(TimePluginMetric, self).__init__(
          self._time, reset_at, emit_at, mode
      )
  
imports: import time
  from typing import TYPE_CHECKING, List
  from avalanche.evaluation import Metric, PluginMetric, GenericPluginMetric
  from avalanche.evaluation.metric_results import MetricValue, MetricResult
  from avalanche.evaluation.metric_utils import get_metric_name
  from avalanche.evaluation.metrics.mean import Mean
label_desc: Use image node_id 1 to create a new TimePluginMetric object from inherited base classes: GenericPluginMetric with example: obj = TimePluginMetric(reset_at, emit_at, mode)