*
* Allocate a new clock setting its reference count to 1.
*
- * @param name Name of the clock (will be copied).
+ * @param name Name of the clock (will be copied); can be set to NULL
+ * for nameless clocks.
*
* Returns an allocated clock on success, NULL on error.
*/
extern int bt_ctf_clock_set_uuid(struct bt_ctf_clock *clock,
const unsigned char *uuid);
+extern int64_t bt_ctf_clock_ns_from_value(struct bt_ctf_clock *clock,
+ uint64_t value);
+
#ifdef __cplusplus
}
#endif