Changes between Version 2 and Version 3 of Doc/panc/stdtpl/units


Ignore:
Timestamp:
Nov 30, 2007, 11:01:32 AM (16 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LAL/CN=Charles Loomis
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Doc/panc/stdtpl/units

    v2 v3  
    22[[TracNav]]
    33
    4 This template contains multiplier variable definitions that allow the consistent use of units throughout a machine configuration.  The base units assumed by this template are megabytes (MB) and megahertz (MHz); that is, those multipliers have a value of 1.  The multipliers and their values are:
     4This template contains multiplier definitions (as global variables) that allow the consistent use of units throughout a machine configuration.  The base units assumed by this template are megabytes (MB) and megahertz (MHz); that is, those multipliers have a value of 1.  The multipliers and their values are:
    55   * mb or MB = 1
    66   * gb or GB = 1024 * MB;
     
    88   * MHz = 1
    99   * GHz = 1000 * MHz;
    10 These are available as global variables and can be used as in the following example:
     10Once this template has been included in a configuration:
     11{{{
     12  include { 'pan/units' };
     13}}}
     14the above multipliers are available as global variables.  The following example shows their use:
    1115{{{
    1216  variable myspeed = 366 * GHz;