def _MakeSampleSeconds(sample_times):
  """Helper to convert an array of time values to a tr157 string."""
  deltas = [str(int(round(end - start))) for start, end in sample_times]
  return ','.join(deltas)