diff options
| author | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:46 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2013-04-06 13:14:46 +0200 |
| commit | 56187184e11b085b82584d3b088c62f427aae83c (patch) | |
| tree | 8f8387e750a62581966900a42dade265d34c3146 /src/stats.h | |
| parent | d3a0d11f93c1ebe38b4301c9bef952bfd24d01a1 (diff) | |
tagging yhttpd-0.7.1yhttpd-0.7.1
Diffstat (limited to 'src/stats.h')
| -rw-r--r-- | src/stats.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/stats.h b/src/stats.h index 608232e..0ef60a2 100644 --- a/src/stats.h +++ b/src/stats.h @@ -4,11 +4,11 @@ #define STATS_H #include "tool/tool.h" - #include <stdio.h> #include <sys/types.h> #include <sys/time.h> #include <sys/resource.h> +#include <iostream> using namespace std; @@ -21,8 +21,6 @@ private: vector< map<string,long> > vec_rusage_history; pthread_mutex_t mut_vec_rusage; - int i_num_rooms; //<< - pthread_mutex_t mut_num_rooms; //<< void set_rusage_vec_size( int i_rusage_vec_size ); @@ -30,19 +28,9 @@ public: stats( ); ~stats( ); - //<<* - int get_num_rooms(); - void increment_num_rooms(); - void decrement_num_rooms(); - //*>> void update_rusage_history(); string get_rusage_history( string s_type, string s_seperator ); long get_ru_maxrss(); - //<<* -#ifdef NCURSES - void print_num_rooms(); -#endif - //*>> }; #endif |
