def _sec_to_usec(t_sec):
  """ Converts a time in seconds to usec since the epoch.

  Args:
    t_sec: Time in seconds since the unix epoch.
  Returns:
    An integer containing the number of usec since the unix epoch.
  """
  return int(t_sec * 1e6)