Rename bt_ctf_get_cycles_timestamp to bt_ctf_get_cycles,
and bt_ctf_get_real_timestamp to bt_ctf_get_timestamp.
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
-uint64_t bt_ctf_get_real_timestamp(const struct bt_ctf_event *ctf_event)
+uint64_t bt_ctf_get_timestamp(const struct bt_ctf_event *ctf_event)
{
struct ctf_event_definition *event = ctf_event->parent;
if (event && event->stream->has_timestamp)
{
struct ctf_event_definition *event = ctf_event->parent;
if (event && event->stream->has_timestamp)
-uint64_t bt_ctf_get_cycles_timestamp(const struct bt_ctf_event *ctf_event)
+uint64_t bt_ctf_get_cycles(const struct bt_ctf_event *ctf_event)
{
struct ctf_event_definition *event = ctf_event->parent;
if (event && event->stream->has_timestamp)
{
struct ctf_event_definition *event = ctf_event->parent;
if (event && event->stream->has_timestamp)
const char *bt_ctf_event_name(const struct bt_ctf_event *event);
/*
const char *bt_ctf_event_name(const struct bt_ctf_event *event);
/*
- * bt_ctf_get_cycles_timestamp: returns the timestamp of the event as written
+ * bt_ctf_get_cycles: returns the timestamp of the event as written
* in the packet (in cycles) or -1ULL on error.
*/
* in the packet (in cycles) or -1ULL on error.
*/
-uint64_t bt_ctf_get_cycles_timestamp(const struct bt_ctf_event *event);
+uint64_t bt_ctf_get_cycles(const struct bt_ctf_event *event);
- * bt_ctf_get_real_timestamp: returns the timestamp of the event offsetted
+ * bt_ctf_get_timestamp: returns the timestamp of the event offsetted
* with the system clock source (in ns) or -1ULL on error
*/
* with the system clock source (in ns) or -1ULL on error
*/
-uint64_t bt_ctf_get_real_timestamp(const struct bt_ctf_event *event);
+uint64_t bt_ctf_get_timestamp(const struct bt_ctf_event *event);
/*
* bt_ctf_get_field_list: set list pointer to an array of definition
/*
* bt_ctf_get_field_list: set list pointer to an array of definition