~legolas/ubuntu/natty/php5/5.3.5

« back to all changes in this revision

Viewing changes to sapi/fpm/fpm/fpm_status.h

  • Committer: Stas Verberkt
  • Date: 2011-02-01 09:27:15 UTC
  • Revision ID: legolas@legolasweb.nl-20110201092715-yq052iu2yl4i2eyg
Inserted PHP 5.3.5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
 
        /* $Id: fpm_status.h 298380 2010-04-23 15:09:28Z fat $ */
 
2
        /* $Id: fpm_status.h 305267 2010-11-11 02:34:47Z fat $ */
3
3
        /* (c) 2009 Jerome Loyet */
4
4
 
5
5
#ifndef FPM_STATUS_H
14
14
        int idle;
15
15
        int active;
16
16
        int total;
 
17
        unsigned cur_lq;
 
18
        int max_lq;
17
19
        unsigned long int accepted_conn;
 
20
        unsigned int max_children_reached;
18
21
        struct timeval last_update;
19
22
};
20
23
 
21
24
int fpm_status_init_child(struct fpm_worker_pool_s *wp);
22
 
void fpm_status_update_activity(struct fpm_shm_s *shm, int idle, int active, int total, int clear_last_update);
 
25
void fpm_status_update_activity(struct fpm_shm_s *shm, int idle, int active, int total, unsigned cur_lq, int max_lq, int clear_last_update);
23
26
void fpm_status_update_accepted_conn(struct fpm_shm_s *shm, unsigned long int accepted_conn);
24
27
void fpm_status_increment_accepted_conn(struct fpm_shm_s *shm);
25
28
void fpm_status_set_pm(struct fpm_shm_s *shm, int pm);
 
29
void fpm_status_update_max_children_reached(struct fpm_shm_s *shm, unsigned int max_children_reached);
 
30
void fpm_status_increment_max_children_reached(struct fpm_shm_s *shm);
26
31
int fpm_status_handle_status(char *uri, char *query_string, char **output, char **content_type);
27
32
char* fpm_status_handle_ping(char *uri);
28
33