Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Per Cederqvist
lyskom-server-ceder-1616-generations-topgit
Commits
7a344979
Commit
7a344979
authored
Aug 11, 2003
by
Per Cederqvist
Browse files
(enum stat_type): Added STAT_CONFS and STAT_PERSONS.
(read_stat_value): New function.
parent
420c796f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/server/stats.h
View file @
7a344979
...
...
@@ -26,13 +26,16 @@
* stats.h -- Handle statistical information, such as load averages.
*/
enum
stat_type
{
enum
stat_type
{
STAT_RUN_QUEUE
,
STAT_DNS_QUEUE
,
STAT_IDENT_QUEUE
,
STAT_CLIENTS
,
STAT_REQUESTS
,
STAT_TEXTS
,
STAT_CONFS
,
/* Including letterboxes! */
STAT_PERSONS
,
STAT_SEND_QUEUE
,
STAT_RECV_QUEUE
,
...
...
@@ -42,3 +45,4 @@ enum stat_type {
extern
void
init_stats
(
void
);
extern
void
update_stat
(
enum
stat_type
st
,
long
delta
);
extern
int
check_all_stats
(
const
char
*
when
);
extern
long
read_stat_value
(
enum
stat_type
st
);
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment