« Previous | Next » 

Revision 1a7eff0e

ID1a7eff0ecbe5b7c7b957806cb196c8c45d4713b8

Added by Iustin Pop almost 15 years ago

Add a new type for cluster statistics

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.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences