X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;ds=sidebyside;f=include%2Fbabeltrace%2Fctf-ir%2Fclock-internal.h;h=e13978110e3c799b566ec4c3cdb7b7ecdd6861fd;hb=61cf588beae752e5ddfc60b6b5310f769ac9e852;hp=9e800ac55b6358fa7e0655236837b400f263c077;hpb=4c426c1774cb217fabc9c0b5d9947417919b852a;p=babeltrace.git diff --git a/include/babeltrace/ctf-ir/clock-internal.h b/include/babeltrace/ctf-ir/clock-internal.h index 9e800ac5..e1397811 100644 --- a/include/babeltrace/ctf-ir/clock-internal.h +++ b/include/babeltrace/ctf-ir/clock-internal.h @@ -27,23 +27,24 @@ * SOFTWARE. */ -#include #include #include +#include #include #include -#include +#include struct bt_ctf_clock { - struct bt_ctf_ref ref_count; + 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; /* * A clock's properties can't be modified once it is added to a stream