def _CalcDelta(from_ts, to_ts):
  return to_ts[0] - from_ts[0] + (to_ts[1] - from_ts[1]) / 1000000.0
Calculates the delta between two timestamps.
dataset/ETHPy150Open ganeti/ganeti/lib/client/gnt_job.py/_CalcDelta