code: def _get_duration_microseconds(start_time_seconds, end_time_seconds):
      """Calculate the duration between start and end time.
  
      Args:
        start_time_seconds: The start time in seconds.
        end_time_seconds: The end time in seconds.
  
      Returns:
        The duration between the start and the end time. Return 0 if
        end_time_seconds < start_time_seconds.
      """
      if end_time_seconds < start_time_seconds:
          # Avoid returning negative value in case of clock skew.
          return 0
      return round((end_time_seconds - start_time_seconds) * 1000000)
  
imports: import atexit
  import copy
  import queue
  import threading
  import time
  import weakref
  from absl import logging
  from tensorflow.python.checkpoint import checkpoint_context
  from tensorflow.python.checkpoint import trackable_view
  from tensorflow.python.distribute import device_util
  from tensorflow.python.eager import context
  from tensorflow.python.eager import def_function
  from tensorflow.python.eager import executor
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import variables
  from tensorflow.python.saved_model.pywrap_saved_model import metrics
  from tensorflow.python.trackable import base
  from tensorflow.python.util import object_identity
label_desc: Use image node_id 1 for calling a global function with example usage: _get_duration_microseconds(start_time_seconds, end_time_seconds) and returns: round, int