X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fctf-ir%2Fclock-class-internal.h;h=9f4f23fe1e1ccc67d009d13bb01ed9e1a8de7a46;hp=b984d456fd3d04769d1c05f1caede95ce7826629;hb=312c056ae3d374b253fa0cfe5ed576c0b0e5e569;hpb=50842bdc4c21f3de2b63e29cdac730af8b6dcca6 diff --git a/include/babeltrace/ctf-ir/clock-class-internal.h b/include/babeltrace/ctf-ir/clock-class-internal.h index b984d456..9f4f23fe 100644 --- a/include/babeltrace/ctf-ir/clock-class-internal.h +++ b/include/babeltrace/ctf-ir/clock-class-internal.h @@ -28,9 +28,9 @@ */ #include -#include #include #include +#include #include #include #include @@ -54,16 +54,19 @@ struct bt_clock_class { * class. */ int frozen; + + /* Pool of `struct bt_clock_value *` */ + struct bt_object_pool cv_pool; }; BT_HIDDEN void bt_clock_class_freeze(struct bt_clock_class *clock_class); BT_HIDDEN -void bt_clock_class_serialize(struct bt_clock_class *clock_class, - struct metadata_context *context); +bt_bool bt_clock_class_is_valid(struct bt_clock_class *clock_class); BT_HIDDEN -bt_bool bt_clock_class_is_valid(struct bt_clock_class *clock_class); +int bt_clock_class_compare(struct bt_clock_class *clock_class_a, + struct bt_clock_class *clock_class_b); #endif /* BABELTRACE_CTF_IR_CLOCK_CLASS_INTERNAL_H */