code: def elapsed_time(self, end_event):
      assert isinstance(end_event, Event)
      return end_event.time - self.time
  
imports: import argparse
  import copy
  import gc
  import json
  import sys
  import time
  from collections import namedtuple
  import torch
  from torch.autograd.profiler import record_function
  from .fuser import set_fuser
  from .runner import get_nn_runners
label_desc: Use image node_id 3 for calling the Event obj's underlying member method code with example usage: obj.elapsed_time(end_event) and returns: unknown