Home
last modified time | relevance | path

Searched refs:procs (Results 1 – 4 of 4) sorted by relevance

/php-src/sapi/fpm/fpm/
H A Dfpm_status.c72 procs[i].used=-1; in fpm_status_export_to_zval()
75 procs[i] = *proc_p; in fpm_status_export_to_zval()
102 if (!procs[i].used) { in fpm_status_export_to_zval()
105 proc_p = &procs[i]; in fpm_status_export_to_zval()
107 if (procs[i].cpu_duration.tv_sec == 0 && procs[i].cpu_duration.tv_usec == 0) { in fpm_status_export_to_zval()
110procs[i].last_request_cpu.tms_utime + procs[i].last_request_cpu.tms_stime + procs[i].last_request_… in fpm_status_export_to_zval()
120 duration = procs[i].duration; in fpm_status_export_to_zval()
129 …add_assoc_string(&fpm_proc_stat, "user", procs[i].auth_user[0] != '\0' ? procs[i].auth_user : "-"); in fpm_status_export_to_zval()
136 efree(procs); in fpm_status_export_to_zval()
555 if (!scoreboard_p->procs[i].used) { in fpm_status_handle_request()
[all …]
H A Dfpm_scoreboard.c207 return &scoreboard->procs[child_index]; in fpm_scoreboard_proc_get_ex()
304 scoreboard_copy->procs[i] = *scoreboard_proc_p; in fpm_scoreboard_copy()
389 if (scoreboard->procs[child_index].used > 0) { in fpm_scoreboard_proc_free()
390 memset(&scoreboard->procs[child_index], 0, sizeof(struct fpm_scoreboard_proc_s)); in fpm_scoreboard_proc_free()
411 if (!scoreboard->procs[scoreboard->free_proc].used) { in fpm_scoreboard_proc_alloc()
419 if (!scoreboard->procs[i].used) { /* found */ in fpm_scoreboard_proc_alloc()
431 scoreboard->procs[i].used = 1; in fpm_scoreboard_proc_alloc()
H A Dfpm_scoreboard.h71 struct fpm_scoreboard_proc_s procs[] ZEND_ELEMENT_COUNT(nprocs);
/php-src/sapi/fpm/tests/
H A Dfpm_get_status_basic.phpt73 ["procs"]=>

Completed in 8 milliseconds