Revision dd77da99 htools/Ganeti/HTools/Program/Hspace.hs
b/htools/Ganeti/HTools/Program/Hspace.hs | ||
---|---|---|
122 | 122 |
cpuEff = effFn Cluster.csIcpu (fromIntegral . Cluster.csVcpu) |
123 | 123 |
|
124 | 124 |
-- | Holds data for converting a 'Cluster.CStats' structure into |
125 |
-- detailed statictics.
|
|
125 |
-- detailed statistics.
|
|
126 | 126 |
statsData :: [(String, Cluster.CStats -> String)] |
127 | 127 |
statsData = [ ("SCORE", printf "%.8f" . Cluster.csScore) |
128 | 128 |
, ("INST_CNT", printf "%d" . Cluster.csNinst) |
Also available in: Unified diff