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