def mcycles_to_seconds(mcycles):
  if mcycles is None:
    return 0
  return quota.megacycles_to_cpu_seconds(mcycles)
Helper function to convert megacycles to seconds.
dataset/ETHPy150Open AppScale/appscale/AppServer/google/appengine/ext/appstats/recording.py/mcycles_to_seconds