Home
last modified time | relevance | path

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

/PHP-7.3/sapi/fpm/fpm/
H A Dfpm_status.c71 procs[i].used=-1; in fpm_status_export_to_zval()
74 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()
108 if (procs[i].cpu_duration.tv_sec == 0 && procs[i].cpu_duration.tv_usec == 0) { in fpm_status_export_to_zval()
111procs[i].last_request_cpu.tms_utime + procs[i].last_request_cpu.tms_stime + procs[i].last_request_… in fpm_status_export_to_zval()
122 duration = procs[i].duration; in fpm_status_export_to_zval()
131 …add_assoc_string(&fpm_proc_stat, "user", procs[i].auth_user[0] != '\0' ? procs[i].auth_user : "-"); in fpm_status_export_to_zval()
132 …add_assoc_string(&fpm_proc_stat, "script", procs[i].script_filename[0] != '\0' ? procs[i].script_f… in fpm_status_export_to_zval()
501 if (!scoreboard_p->procs[i].used) { in fpm_status_handle_request()
[all …]
H A Dfpm_scoreboard.c169 return &scoreboard->procs[child_index]; in fpm_scoreboard_proc_get_ex()
294 if (scoreboard->procs[child_index].used > 0) { in fpm_scoreboard_proc_free()
295 memset(&scoreboard->procs[child_index], 0, sizeof(struct fpm_scoreboard_proc_s)); in fpm_scoreboard_proc_free()
316 if (!scoreboard->procs[scoreboard->free_proc].used) { in fpm_scoreboard_proc_alloc()
324 if (!scoreboard->procs[i].used) { /* found */ in fpm_scoreboard_proc_alloc()
336 scoreboard->procs[i].used = 1; in fpm_scoreboard_proc_alloc()
H A Dfpm_scoreboard.h66 struct fpm_scoreboard_proc_s procs[]; member
/PHP-7.3/sapi/fpm/tests/
H A Dfpm_get_status_basic.phpt71 ["procs"]=>

Completed in 10 milliseconds