index b9fa2c266b8cef8d800c60ff3b163650c75dbc48..0393b17348bd223d3df975a140369bd01c3f7cb0 100644 (file)
--- a/program/src/rrd_format.h
+++ b/program/src/rrd_format.h
/*****************************************************************************
- * RRDtool 1.0.33 Copyright Tobias Oetiker, 1997, 1998, 1999
+ * RRDtool 1.2rc2 Copyright by Tobi Oetiker, 1997-2005
*****************************************************************************
* rrd_format.h RRD Database Format header
*****************************************************************************/
*****************************************************************************/
#define RRD_COOKIE "RRD"
-#define RRD_VERSION "0002"
+/* #define RRD_VERSION "0002" */
+/* changed because microsecond precision requires another field */
+#define RRD_VERSION "0003"
#define FLOAT_COOKIE 8.642135E130
#include "rrd_nan_inf.h"
typedef struct live_head_t {
time_t last_up; /* when was rrd last updated */
+ long last_up_usec; /* micro seconds part of the
+ update timestamp. Always >= 0 */
} live_head_t;