Searched refs:statistic (Results 1 – 6 of 6) sorted by relevance
/php-src/ext/mysqlnd/ |
H A D | mysqlnd_statistics.h | 29 #define MYSQLND_STATS_UPDATE_VALUE(stats, statistic, value) \ argument 32 (stats)->values[(statistic)] += (value); \ 36 #define MYSQLND_DEC_STATISTIC(enabler, stats, statistic) \ argument 38 enum_mysqlnd_collected_stats _s = (statistic);\ 45 #define MYSQLND_INC_STATISTIC(enabler, stats, statistic) \ argument 47 enum_mysqlnd_collected_stats _s = (statistic);\ 54 #define MYSQLND_INC_STATISTIC_W_VALUE(enabler, stats, statistic, value) \ argument 56 enum_mysqlnd_collected_stats _s = (statistic);\
|
H A D | mysqlnd_wireprotocol.c | 1445 enum_mysqlnd_collected_stats statistic; in php_mysqlnd_rowp_read_binary_protocol() local 1455 statistic = STAT_BINARY_TYPE_FETCHED_NULL; in php_mysqlnd_rowp_read_binary_protocol() 1478 case MYSQL_TYPE_BIT: statistic = STAT_BINARY_TYPE_FETCHED_BIT; break; in php_mysqlnd_rowp_read_binary_protocol() 1481 case MYSQL_TYPE_SET: statistic = STAT_BINARY_TYPE_FETCHED_SET; break; in php_mysqlnd_rowp_read_binary_protocol() 1490 default: statistic = STAT_BINARY_TYPE_FETCHED_OTHER; break; in php_mysqlnd_rowp_read_binary_protocol() 1494 MYSQLND_INC_CONN_STATISTIC_W_VALUE2(stats, statistic, 1, in php_mysqlnd_rowp_read_binary_protocol() 1545 enum_mysqlnd_collected_stats statistic; in php_mysqlnd_rowp_read_text_protocol() local 1548 case MYSQL_TYPE_TINY: statistic = STAT_TEXT_TYPE_FETCHED_INT8; break; in php_mysqlnd_rowp_read_text_protocol() 1563 case MYSQL_TYPE_BIT: statistic = STAT_TEXT_TYPE_FETCHED_BIT; break; in php_mysqlnd_rowp_read_text_protocol() 1566 case MYSQL_TYPE_SET: statistic = STAT_TEXT_TYPE_FETCHED_SET; break; in php_mysqlnd_rowp_read_text_protocol() [all …]
|
H A D | mysqlnd.h | 255 #define MYSQLND_INC_GLOBAL_STATISTIC(statistic) \ argument 256 MYSQLND_INC_STATISTIC(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic)) 258 #define MYSQLND_DEC_GLOBAL_STATISTIC(statistic) \ argument 259 MYSQLND_DEC_STATISTIC(MYSQLND_G(collect_statistics), mysqlnd_global_stats, (statistic)) 264 #define MYSQLND_INC_CONN_STATISTIC(conn_stats, statistic) \ argument 266 MYSQLND_INC_STATISTIC(MYSQLND_G(collect_statistics), (conn_stats), (statistic)); 268 #define MYSQLND_INC_CONN_STATISTIC_W_VALUE(conn_stats, statistic, value) \ argument 282 #define MYSQLND_INC_GLOBAL_STATISTIC(statistic) argument 283 #define MYSQLND_DEC_GLOBAL_STATISTIC(statistic) argument 285 #define MYSQLND_INC_CONN_STATISTIC(conn_stats, statistic) argument [all …]
|
H A D | mysqlnd_result.c | 249 enum_mysqlnd_collected_stats statistic = STAT_LAST; in mysqlnd_query_read_result_set_header() local 339 statistic = STAT_BAD_INDEX_USED; in mysqlnd_query_read_result_set_header() 341 statistic = STAT_NO_INDEX_USED; in mysqlnd_query_read_result_set_header() 343 statistic = STAT_QUERY_WAS_SLOW; in mysqlnd_query_read_result_set_header() 345 MYSQLND_INC_CONN_STATISTIC(conn->stats, statistic); in mysqlnd_query_read_result_set_header()
|
H A D | mysqlnd_ps.c | 1756 enum_mysqlnd_collected_stats statistic = STAT_LAST; in MYSQLND_METHOD_PRIVATE() local 1806 statistic = STAT_PS_PREPARED_NEVER_EXECUTED; in MYSQLND_METHOD_PRIVATE() 1809 statistic = STAT_PS_PREPARED_ONCE_USED; in MYSQLND_METHOD_PRIVATE() 1814 if (statistic != STAT_LAST) { in MYSQLND_METHOD_PRIVATE() 1815 MYSQLND_INC_CONN_STATISTIC(conn->stats, statistic); in MYSQLND_METHOD_PRIVATE()
|
H A D | mysqlnd_connection.c | 982 MYSQLND_METHOD(mysqlnd_conn_data, statistic)(MYSQLND_CONN_DATA * conn, zend_string **message) argument 1942 MYSQLND_METHOD(mysqlnd_conn_data, statistic),
|
Completed in 40 milliseconds