Also, technically, Œint8¹ ranges from ­127 to 127, not ­128, which requires
9 bits to store.

cheers,
Klaus

On 9/10/08 3:39 PM, "Klaus Steden" <[EMAIL PROTECTED]>did etch on
stone tablets:

> 
> Hello Craig,
> 
> Œint¹ types include a sign bit ... hence the availability of the Œuint¹ types,
> which are unsigned.
> 
> Also ‹ what¹s Œ­0¹?
> 
> cheers,
> Klaus
> 
> On 9/10/08 2:13 PM, "Craig Simpson" <[EMAIL PROTECTED]>did etch on stone
> tablets:
> 
>> 
>> Wouldn't that be:
>> 
>> int8 = -0 to 128
>> 
>> and not:
>> 
>> int8 = -128 to 127
>> 
>> Craig
>> 
>> On Tue, Jul 29, 2008 at 12:55 PM, Carlo Marcelo Arenas Belon
>> <[EMAIL PROTECTED]> wrote:
>>> On Tue, Jul 29, 2008 at 12:08:31PM -0700, Craig Simpson wrote:
>>>> >    gmetric -t types question
>>>> >
>>>> >    As an option sending data to gmetric, I don't get the -t flag. The
>>>> options
>>>> >    are
>>>> >
>>>> >    -t, --type=STRING Either
>>>> >    string|int8|uint8|int16|uint16|int32|uint32|float|double
>>>> >
>>>> >    What exactly do the different options mean?
>>> 
>>> the data type that the metric is represented internally (uint16 = unsigned
>>> integer of 16 bits, so from 0 to 65535).
>>> 
>>> the important issues to consider are :
>>> 
>>> * if it is a numeric value with decimals use float or double with the best
>>>   fitting width based on precision as per IEEE_754
>>> 
>>> * if it is a numeric value without decimals use the best fitting width and
>>>   signed type.
>>> 
>>>     int8 = -128 to 127
>>>     uint8 = 0 to 255
>>> 
>>> * if it is some text value use string.
>>> 
>>> both numeric values will be graphed over time, while the string values will
>>> only show the last value through the frontend.
>>> 
>>> Carlo
>> 
>> 
> 
> 
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> 
> _______________________________________________
> Ganglia-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ganglia-general


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to