[rrd-developers] implementing portable format

Tobias Oetiker tobi at oetiker.ch
Tue Apr 7 22:25:30 CEST 2009


Hi Bernhard,

Today Bernhard Reutner-Fischer wrote:
>
> This is really not concerned with the architecture in any way.
>
> You would just read any data back with the appropriate per data accessor
> from libc. like e.g.:
> typedef struct stat_head_t /* can drop float_cookie now! :) */ {
> 	unsigned long ds_cnt;
> }
> inline void get_stat_head_ds_cnt(unsigned long ul) {}
> inline void set_stat_head_ds_cnt(unsigned long ul) {}
> You get the idea..

as I said, integers are no problem whatsoever, the differences lie
in floatinpoint formats and data alignment. so, no, I do not get
what you are trying to point out here ... what is your vision for
the data format and the implementation ?

cheers
tobi


-- 
Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland
http://it.oetiker.ch tobi at oetiker.ch ++41 62 775 9902 / sb: -9900



More information about the rrd-developers mailing list