Skip to content
  • Iustin Pop's avatar
    Add a new type for cluster statistics · 1a7eff0e
    Iustin Pop authored
    Currently totalResources returns a 5-tuple of integers. This is not easy
    to handle, as each change on the return type means that each caller must
    be updated.
    
    This patch adds a new type for cluster stats and uses that instead as
    its return type. This simplifies its callers while complicating only a
    little the computation of the stats.
    1a7eff0e