ir: clock: use value in cycles instead of ns
[babeltrace.git] / include / babeltrace / ctf-ir / clock.h
index e149d7fadb684f7ce0da904498ea62eb33cc9f0b..a9ba7134be0c45937d88c669bb5347546303031d 100644 (file)
@@ -262,6 +262,11 @@ extern int bt_ctf_clock_get_time(struct bt_ctf_clock *clock,
 extern int bt_ctf_clock_set_time(struct bt_ctf_clock *clock,
                int64_t time);
 
+extern uint64_t bt_ctf_clock_get_value(struct bt_ctf_clock *clock);
+
+extern int bt_ctf_clock_set_value(struct bt_ctf_clock *clock,
+               uint64_t value);
+
 /*
  * bt_ctf_clock_get and bt_ctf_clock_put: increment and decrement the
  * refcount of the clock
This page took 0.023687 seconds and 4 git commands to generate.