code: def _time_to_micros(time):
      """Convert a time into microseconds since midnight.
      Parameters
      ----------
      time : datetime.time
          The time to convert.
      Returns
      -------
      us : int
          The number of microseconds since midnight.
      Notes
      -----
      This does not account for leap seconds or daylight savings.
      """
      seconds = time.hour * 60 * 60 + time.minute * 60 + time.second
      return 1000000 * seconds + time.microsecond
  
imports: from contextlib import contextmanager
  from copy import deepcopy
  from itertools import product
  import operator
  import warnings
  import numpy
  import pandas
  from distutils.version import StrictVersion
  from trading_calendars.utils.pandas_utils import days_at_time
label_desc: Use image node_id 3 for calling a global function with example usage: _time_to_micros(time) and returns: unknown