xenadmin/XenModel/Utils
Carmen Agimof 4da67c0590 CA-147944: Use GB for VM Memory if large values
- Memory Tab uses GB units for values greater or equal to 1 GB, otherwise show in MB;
- Search Tab displays values in GB or MB in the same as the Memory Tab (e.g. 512 MB of 1 GB, 256 MB of 512 MB, 2.5 GB of 16 GB).
- The shiny bar present in the Memory Tab and in Memory Settings dialog shows the scaling in the following way: If smaller than 1 GB, then show as before, else show only labels with values multiples of half a GB.
- The units used in Memory Setting Dialog are set depending on the static_max. If it is greater or equal to 1 GB, then the units are GB, else MB. The user does not have the possibility of changing them.
2015-08-20 12:41:39 +01:00
..
AsyncServerTime.cs CA-113430: Importing from clearwater-lcm-staging: corrected the calculation of 2013-08-28 15:11:12 +01:00
Helpers.cs CA-166093: Missing RRD label for vbd_xvda_io_throughput_total 2015-04-23 17:38:40 +01:00
PrettyTimeSpan.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
PropertyManager.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
Util.cs CA-147944: Use GB for VM Memory if large values 2015-08-20 12:41:39 +01:00