1. 14 Oct, 2011 2 commits
  2. 03 Oct, 2011 1 commit
  3. 29 Sep, 2011 1 commit
  4. 21 Jul, 2011 3 commits
    • Iustin Pop's avatar
      htools: a few more hlint fixes · 1b0a6356
      Iustin Pop authored
      Tested only on GHC 7.x, will test on 6.1x too before commit.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      1b0a6356
    • Iustin Pop's avatar
      htools: further docstring fixes · 179c0828
      Iustin Pop authored
      This adds parameter documentation for Cluster.iMoveToJob (I think it
      was not clear if the new or old node list is needed) and fixes other
      docstring style issues.
      
      After this patch, all modules except for CLI.hs (which has many
      obvious declarations for command-line options) and QC.hs (unittests)
      have 100% doc-strings.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      179c0828
    • Iustin Pop's avatar
      htools: add human-readable output to hspace · 375969eb
      Iustin Pop authored
      Currently, hspace can only output a machine-readable format that
      (while detailed) is hard to parse quickly by people. This patch adds
      (and enables by default) a human-readable output that shows the most
      important metrics in a simple format.
      
      Most of the work of the patch is in moving the display of various
      metrics from the 'main' function to separate functions, each of which
      can output either a machine or human intended format.
      
      The patch also corrects a bug in the CPU efficiency display: before,
      the efficiency was computed as instance virtual CPUs divided by total
      physical CPUs, which is almost always supra-unitary. More correct is
      to divide by the total virtual CPUs, which shows a more meaningful
      number (when the p-to-v CPU ratio has been defined correctly).
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
      375969eb
  5. 20 Jul, 2011 1 commit
    • Guido Trotter's avatar
      Do proper name lookup for the -O option · 4938fa30
      Guido Trotter authored
      hspace and hbal treat -O differently, and use aliases for short names
      (although hbal succeeds in that, and hspace doesn't). Uniform this with
      a name lookup, using the same functions we used for instance
      selection/exclusion.
      
      Some of the code is by the way a bit repetitive, and could probably be
      merged in a single function. That needs to be a monadic one, though, so
      I promise to do it as soon as I realize how to write them! ;)
      Signed-off-by: default avatarGuido Trotter <ultrotter@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      4938fa30
  6. 19 Jul, 2011 2 commits
  7. 15 Jul, 2011 1 commit
  8. 14 Jul, 2011 1 commit
  9. 13 Jul, 2011 3 commits
  10. 28 Jun, 2011 1 commit
  11. 12 Apr, 2011 1 commit