lib: add internal object pool API and use it; adapt plugins/tests
[babeltrace.git] / include / babeltrace / ctf-ir / clock-class.h
index 3dde3d764091610367247e3ead44dd0ed7cd4466..e9af453c950bc0e70e0a8b15eedf8739d0fe70c5 100644 (file)
@@ -78,14 +78,8 @@ extern const unsigned char *bt_clock_class_get_uuid(
                struct bt_clock_class *clock_class);
 extern int bt_clock_class_set_uuid(struct bt_clock_class *clock_class,
                const unsigned char *uuid);
-extern struct bt_clock_value *bt_clock_value_create(
-               struct bt_clock_class *clock_class, uint64_t value);
-extern struct bt_clock_class *bt_clock_value_get_class(
-               struct bt_clock_value *clock_value);
-extern int bt_clock_value_get_value(
-               struct bt_clock_value *clock_value, uint64_t *raw_value);
-extern int bt_clock_value_get_value_ns_from_epoch(
-               struct bt_clock_value *clock_value, int64_t *value_ns);
+extern int bt_clock_class_cycles_to_ns(struct bt_clock_class *clock_class,
+               uint64_t cycles, int64_t *ns);
 
 #ifdef __cplusplus
 }
This page took 0.026828 seconds and 4 git commands to generate.