#include <babeltrace2/trace-ir/clock-class.h>
#include "lib/object.h"
-#include "common/macros.h"
#include "common/common.h"
#include "lib/object-pool.h"
#include "common/uuid.h"
#include <babeltrace2/types.h>
-#include "lib/property.h"
#include "common/assert.h"
#include <stdbool.h>
#include <stdint.h>
/* Owned by this */
struct bt_value *user_attributes;
- struct {
- GString *str;
-
- /* NULL or `str->str` above */
- const char *value;
- } name;
-
- struct {
- GString *str;
-
- /* NULL or `str->str` above */
- const char *value;
- } description;
+ gchar *name;
+ gchar *description;
uint64_t frequency;
uint64_t precision;
bool frozen;
};
-BT_HIDDEN
void _bt_clock_class_freeze(const struct bt_clock_class *clock_class);
#ifdef BT_DEV_MODE
# define bt_clock_class_freeze(_cc)
#endif
-BT_HIDDEN
bt_bool bt_clock_class_is_valid(struct bt_clock_class *clock_class);
static inline