Lines Matching refs:stats
22 #define MYSQLND_STATS_LOCK(stats) tsrm_mutex_lock((stats)->LOCK_access) argument
23 #define MYSQLND_STATS_UNLOCK(stats) tsrm_mutex_unlock((stats)->LOCK_access) argument
25 #define MYSQLND_STATS_LOCK(stats) argument
26 #define MYSQLND_STATS_UNLOCK(stats) argument
29 #define MYSQLND_STATS_UPDATE_VALUE(stats, statistic, value) \ argument
31 MYSQLND_STATS_LOCK(stats); \
32 (stats)->values[(statistic)] += (value); \
36 #define MYSQLND_DEC_STATISTIC(enabler, stats, statistic) \ argument
39 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
45 #define MYSQLND_INC_STATISTIC(enabler, stats, statistic) \ argument
48 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
54 #define MYSQLND_INC_STATISTIC_W_VALUE(enabler, stats, statistic, value) \ argument
57 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
64 #define MYSQLND_INC_STATISTIC_W_VALUE2(enabler, stats, statistic1, value1, statistic2, value2) \ argument
66 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
77 #define MYSQLND_INC_STATISTIC_W_VALUE3(enabler, stats, statistic1, value1, statistic2, value2, stat… argument
79 MYSQLND_STATS * _p_s = (MYSQLND_STATS *) (stats); \
95 PHPAPI void mysqlnd_stats_init(MYSQLND_STATS ** stats, const size_t statistic_count, const bool per…
96 PHPAPI void mysqlnd_stats_end(MYSQLND_STATS * stats, const bool persistent);
98 PHPAPI void mysqlnd_fill_stats_hash(const MYSQLND_STATS * const stats, const MYSQLND_STRING * names…