

Go to the source code of this file.
Classes | |
| struct | StatsCounterGroup |
| struct | StatsCounterGroupInit |
| struct | StatsClusterLabel |
| struct | StatsClusterKey |
| struct | StatsCluster |
Typedefs | |
| typedef void(* | StatsForeachCounterFunc) (StatsCluster *sc, gint type, StatsCounterItem *counter, gpointer user_data) |
Enumerations | |
| enum | { SCS_SOURCE = 0x0100 , SCS_DESTINATION = 0x0200 , SCS_GROUP = 1 , SCS_GLOBAL , SCS_CENTER , SCS_HOST , SCS_SENDER , SCS_PROGRAM , SCS_SEVERITY , SCS_FACILITY , SCS_TAG , SCS_FILTER , SCS_PARSER , SCS_SOURCE_MASK = 0xff } |
| enum | StatsClusterUnit { SCU_NONE = 0 , SCU_SECONDS , SCU_MINUTES , SCU_HOURS , SCU_MILLISECONDS , SCU_NANOSECONDS , SCU_BYTES , SCU_KIB , SCU_MIB , SCU_GIB } |
| enum | StatsClusterFrameOfReference { SCFOR_NONE = 0 , SCFOR_ABSOLUTE , SCFOR_RELATIVE_TO_TIME_OF_QUERY } |
Functions | |
| gboolean | stats_counter_group_init_equals (const StatsCounterGroupInit *self, const StatsCounterGroupInit *other) |
| void | stats_counter_group_free (StatsCounterGroup *self) |
| void | stats_cluster_init (void) |
| void | stats_cluster_deinit (void) |
| guint | stats_register_type (const gchar *type_name) |
| const gchar * | stats_cluster_get_type_name (StatsCluster *self, gint type) |
| const gchar * | stats_cluster_get_component_name (StatsCluster *self, gchar *buf, gsize buf_len) |
| void | stats_cluster_foreach_counter (StatsCluster *self, StatsForeachCounterFunc func, gpointer user_data) |
| StatsClusterKey * | stats_cluster_key_clone (StatsClusterKey *dst, const StatsClusterKey *src) |
| void | stats_cluster_key_cloned_free (StatsClusterKey *self) |
| void | stats_cluster_key_free (StatsClusterKey *self) |
| gboolean | stats_cluster_key_equal (const StatsClusterKey *key1, const StatsClusterKey *key2) |
| guint | stats_cluster_key_hash (const StatsClusterKey *self) |
| StatsCounterItem * | stats_cluster_track_counter (StatsCluster *self, gint type) |
| StatsCounterItem * | stats_cluster_get_counter (StatsCluster *self, gint type) |
| void | stats_cluster_untrack_counter (StatsCluster *self, gint type, StatsCounterItem **counter) |
| gboolean | stats_cluster_is_alive (StatsCluster *self, gint type) |
| void | stats_cluster_reset_counter_if_needed (StatsCluster *sc, StatsCounterItem *counter) |
| StatsCluster * | stats_cluster_new (const StatsClusterKey *key) |
| StatsCluster * | stats_cluster_dynamic_new (const StatsClusterKey *key) |
| void | stats_cluster_free (StatsCluster *self) |
| void | stats_cluster_key_set (StatsClusterKey *self, const gchar *name, StatsClusterLabel *labels, gsize labels_len, StatsCounterGroupInit counter_group_ctor) |
| void | stats_cluster_key_legacy_set (StatsClusterKey *self, guint16 component, const gchar *id, const gchar *instance, StatsCounterGroupInit counter_group_ctor) |
| void | stats_cluster_key_add_legacy_alias (StatsClusterKey *self, guint16 component, const gchar *id, const gchar *instance, StatsCounterGroupInit counter_group_ctor) |
| typedef void(* StatsForeachCounterFunc) (StatsCluster *sc, gint type, StatsCounterItem *counter, gpointer user_data) |
| anonymous enum |
| enum StatsClusterUnit |
| void stats_cluster_deinit | ( | void | ) |
| StatsCluster* stats_cluster_dynamic_new | ( | const StatsClusterKey * | key | ) |
| void stats_cluster_foreach_counter | ( | StatsCluster * | self, |
| StatsForeachCounterFunc | func, | ||
| gpointer | user_data | ||
| ) |
| void stats_cluster_free | ( | StatsCluster * | self | ) |
| const gchar* stats_cluster_get_component_name | ( | StatsCluster * | self, |
| gchar * | buf, | ||
| gsize | buf_len | ||
| ) |
| StatsCounterItem* stats_cluster_get_counter | ( | StatsCluster * | self, |
| gint | type | ||
| ) |
| const gchar* stats_cluster_get_type_name | ( | StatsCluster * | self, |
| gint | type | ||
| ) |
| void stats_cluster_init | ( | void | ) |
| gboolean stats_cluster_is_alive | ( | StatsCluster * | self, |
| gint | type | ||
| ) |
| void stats_cluster_key_add_legacy_alias | ( | StatsClusterKey * | self, |
| guint16 | component, | ||
| const gchar * | id, | ||
| const gchar * | instance, | ||
| StatsCounterGroupInit | counter_group_ctor | ||
| ) |
| StatsClusterKey* stats_cluster_key_clone | ( | StatsClusterKey * | dst, |
| const StatsClusterKey * | src | ||
| ) |
| void stats_cluster_key_cloned_free | ( | StatsClusterKey * | self | ) |
| gboolean stats_cluster_key_equal | ( | const StatsClusterKey * | key1, |
| const StatsClusterKey * | key2 | ||
| ) |
| void stats_cluster_key_free | ( | StatsClusterKey * | self | ) |
| guint stats_cluster_key_hash | ( | const StatsClusterKey * | self | ) |
| void stats_cluster_key_legacy_set | ( | StatsClusterKey * | self, |
| guint16 | component, | ||
| const gchar * | id, | ||
| const gchar * | instance, | ||
| StatsCounterGroupInit | counter_group_ctor | ||
| ) |
| void stats_cluster_key_set | ( | StatsClusterKey * | self, |
| const gchar * | name, | ||
| StatsClusterLabel * | labels, | ||
| gsize | labels_len, | ||
| StatsCounterGroupInit | counter_group_ctor | ||
| ) |
| StatsCluster* stats_cluster_new | ( | const StatsClusterKey * | key | ) |
| void stats_cluster_reset_counter_if_needed | ( | StatsCluster * | sc, |
| StatsCounterItem * | counter | ||
| ) |
| StatsCounterItem* stats_cluster_track_counter | ( | StatsCluster * | self, |
| gint | type | ||
| ) |
| void stats_cluster_untrack_counter | ( | StatsCluster * | self, |
| gint | type, | ||
| StatsCounterItem ** | counter | ||
| ) |
| void stats_counter_group_free | ( | StatsCounterGroup * | self | ) |
| gboolean stats_counter_group_init_equals | ( | const StatsCounterGroupInit * | self, |
| const StatsCounterGroupInit * | other | ||
| ) |
| guint stats_register_type | ( | const gchar * | type_name | ) |