Handle negative time and offset from Epoch
[babeltrace.git] / include / babeltrace / ctf-ir / clock-internal.h
index 7428126e42c62cfcedb76dfbeb685314595c8f79..e13978110e3c799b566ec4c3cdb7b7ecdd6861fd 100644 (file)
 
 #include <babeltrace/ctf-writer/clock.h>
 #include <babeltrace/ctf-ir/trace-internal.h>
-#include <babeltrace/ctf-ir/common-internal.h>
+#include <babeltrace/object-internal.h>
 #include <babeltrace/babeltrace-internal.h>
 #include <glib.h>
 #include <babeltrace/compat/uuid.h>
 
 struct bt_ctf_clock {
-       struct bt_ctf_base base;
+       struct bt_object base;
        GString *name;
        GString *description;
        uint64_t frequency;
        uint64_t precision;
-       uint64_t offset_s;      /* Offset in seconds */
-       uint64_t offset;        /* Offset in ticks */
-       uint64_t time;          /* Current clock value */
+       int64_t offset_s;       /* Offset in seconds */
+       int64_t offset;         /* Offset in ticks */
+       int64_t time;           /* Current clock value */
        uuid_t uuid;
        int uuid_set;
        int absolute;
This page took 0.025846 seconds and 4 git commands to generate.