Lines Matching refs:stats
24 #define MYSQLND_STATS_LOCK(stats) tsrm_mutex_lock((stats)->LOCK_access) argument
25 #define MYSQLND_STATS_UNLOCK(stats) tsrm_mutex_unlock((stats)->LOCK_access) argument
27 #define MYSQLND_STATS_LOCK(stats) argument
28 #define MYSQLND_STATS_UNLOCK(stats) argument
46 #define MYSQLND_UPDATE_VALUE_AND_CALL_TRIGGER(stats, statistic, value) \ argument
48 MYSQLND_STATS_LOCK(stats); \
49 (stats)->values[(statistic)] += (value); \
50 MYSQLND_STAT_CALL_TRIGGER((stats), (statistic), (value)); \
54 #define MYSQLND_DEC_STATISTIC(enabler, stats, statistic) \ argument
57 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
63 #define MYSQLND_INC_STATISTIC(enabler, stats, statistic) \ argument
66 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
72 #define MYSQLND_INC_STATISTIC_W_VALUE(enabler, stats, statistic, value) \ argument
75 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
82 #define MYSQLND_INC_STATISTIC_W_VALUE2(enabler, stats, statistic1, value1, statistic2, value2) \ argument
84 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
95 #define MYSQLND_INC_STATISTIC_W_VALUE3(enabler, stats, statistic1, value1, statistic2, value2, stat… argument
97 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
113 PHPAPI void mysqlnd_stats_init(MYSQLND_STATS ** stats, const size_t statistic_count, const zend_boo…
114 PHPAPI void mysqlnd_stats_end(MYSQLND_STATS * stats, const zend_bool persistent);
116 PHPAPI void mysqlnd_fill_stats_hash(const MYSQLND_STATS * const stats, const MYSQLND_STRING * names…
118 PHPAPI mysqlnd_stat_trigger mysqlnd_stats_set_trigger(MYSQLND_STATS * const stats, enum_mysqlnd_col…
119 PHPAPI mysqlnd_stat_trigger mysqlnd_stats_reset_triggers(MYSQLND_STATS * const stats);