Searched defs:stats (Results 1 - 5 of 5) sorted by relevance

/PHP_TRUNK/sapi/phpdbg/tests/
H A Drun-tests.php190 if (!isset($this->stats[$path])) {
194 $total = array_sum($this->stats[$path]);
197 @$this->totals[true] += $this->stats[$path][true];
198 @$this->totals[false] += $this->stats[$path][false];
200 $stats = @sprintf( variable
202 $this->stats[$path][true],
203 $this->stats[$path][false],
204 (100 / $total) * $this->stats[$path][true]);
209 ' ', $this->config['width'] - strlen($stats)),
210 $stats, PHP_EO
222 $stats = @sprintf( variable
552 protected $stats; variable
[all...]
/PHP_TRUNK/ext/mysqlnd/
H A Dmysqlnd_net.c67 MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info)
88 MYSQLND_INC_CONN_STATISTIC_W_VALUE(stats, STAT_BYTES_RECEIVED, count - to_read);
98 MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info)
1014 MYSQLND_METHOD(mysqlnd_net, close_stream)(MYSQLND_NET * const net, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info)
1044 MYSQLND_METHOD(mysqlnd_net, init)(MYSQLND_NET * const net, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info)
1065 MYSQLND_METHOD(mysqlnd_net, dtor)(MYSQLND_NET * const net, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info)
1070 net->data->m.close_stream(net, stats, error_info);
1149 mysqlnd_net_init(zend_bool persistent, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info)
1153 net = MYSQLND_CLASS_METHOD_TABLE_NAME(mysqlnd_object_factory).get_io_channel(persistent, stats, error_info);
1161 mysqlnd_net_free(MYSQLND_NET * const net, MYSQLND_STATS * stats, MYSQLND_ERROR_INF argument
[all...]
H A Dmysqlnd_statistics.c200 mysqlnd_fill_stats_hash(const MYSQLND_STATS * const stats, const MYSQLND_STRING * names, zval *return_value ZEND_FILE_LINE_DC) argument
204 array_init_size(return_value, stats->count);
205 for (i = 0; i < stats->count; i++) {
208 sprintf((char *)&tmp, MYSQLND_LLU_SPEC, stats->values[i]);
219 MYSQLND_STATS stats, *stats_ptr = mysqlnd_global_stats; local
222 memset(&stats, 0, sizeof(stats));
223 stats_ptr = &stats;
233 mysqlnd_stats_init(MYSQLND_STATS ** stats, size_t statistic_count) argument
235 *stats
252 mysqlnd_stats_end(MYSQLND_STATS * stats) argument
267 mysqlnd_stats_set_trigger(MYSQLND_STATS * const stats, enum_mysqlnd_collected_stats statistic, mysqlnd_stat_trigger trigger) argument
284 mysqlnd_stats_reset_triggers(MYSQLND_STATS * const stats) argument
[all...]
H A Dmysqlnd_structs.h255 typedef void (*mysqlnd_stat_trigger)(MYSQLND_STATS * stats, enum_mysqlnd_collected_stats stat, int64_t change);
289 typedef enum_func_status (*func_mysqlnd_net__network_read_ex)(MYSQLND_NET * const net, zend_uchar * const buffer, const size_t count, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info);
290 typedef size_t (*func_mysqlnd_net__network_write_ex)(MYSQLND_NET * const net, const zend_uchar * const buf, const size_t count, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info);
293 typedef enum_func_status (*func_mysqlnd_net__init)(MYSQLND_NET * const net, MYSQLND_STATS * const stats, MYSQLND_ERROR_INFO * const error_info);
401 typedef MYSQLND_NET * (*func_mysqlnd_object_factory__get_io_channel)(zend_bool persistent, MYSQLND_STATS * stats, MYSQLND_ERROR_INFO * error_info);
622 zend_bool as_int_or_float, MYSQLND_STATS * stats);
709 MYSQLND_STATS * stats, zend_bool int_and_float_native);
966 /* stats */
967 MYSQLND_STATS * stats; member in struct:st_mysqlnd_connection_data
H A Dmysqlnd_wireprotocol.c38 if (FAIL == mysqlnd_read_header((conn)->net, &((packet)->header), (conn)->stats, ((conn)->error_info))) {\
50 if (FAIL == conn->net->data->m.receive_ex((conn)->net, (buf), (packet)->header.size, (conn)->stats, ((conn)->error_info))) { \
57 MYSQLND_INC_CONN_STATISTIC_W_VALUE2(conn->stats, packet_type_to_statistic_byte_count[packet_type], \
655 size_t sent = conn->net->data->m.send_ex(conn->net, buffer, p - buffer - MYSQLND_HEADER_SIZE, conn->stats, conn->error_info);
815 size_t sent = conn->net->data->m.send_ex(conn->net, buffer, p - buffer - MYSQLND_HEADER_SIZE, conn->stats, conn->error_info);
1027 MYSQLND_INC_CONN_STATISTIC(conn->stats, STAT_PACKETS_SENT_CMD);
1037 sent = net->data->m.send_ex(net, buffer, 1, conn->stats, conn->error_info);
1052 sent = net->data->m.send_ex(net, tmp, tmp_len - MYSQLND_HEADER_SIZE, conn->stats, conn->error_info);
1054 MYSQLND_INC_CONN_STATISTIC(conn->stats, STAT_CMD_BUFFER_TOO_SMALL);
1460 if (FAIL == mysqlnd_read_header(conn->net, &header, conn->stats, con
1515 php_mysqlnd_rowp_read_binary_protocol(MYSQLND_MEMORY_POOL_CHUNK * row_buffer, zval * fields, unsigned int field_count, const MYSQLND_FIELD * fields_metadata, zend_bool as_int_or_float, MYSQLND_STATS * stats) argument
1605 php_mysqlnd_rowp_read_text_protocol_aux(MYSQLND_MEMORY_POOL_CHUNK * row_buffer, zval * fields, unsigned int field_count, const MYSQLND_FIELD * fields_metadata, zend_bool as_int_or_float, MYSQLND_STATS * stats) argument
1757 php_mysqlnd_rowp_read_text_protocol_zval(MYSQLND_MEMORY_POOL_CHUNK * row_buffer, zval * fields, unsigned int field_count, const MYSQLND_FIELD * fields_metadata, zend_bool as_int_or_float, MYSQLND_STATS * stats) argument
1771 php_mysqlnd_rowp_read_text_protocol_c(MYSQLND_MEMORY_POOL_CHUNK * row_buffer, zval * fields, unsigned int field_count, const MYSQLND_FIELD * fields_metadata, zend_bool as_int_or_float, MYSQLND_STATS * stats) argument
[all...]

Completed in 13 milliseconds