mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add cpu stat
This commit is contained in:
parent
4c5aae7804
commit
117fd67950
7 changed files with 510 additions and 14 deletions
|
@ -120,6 +120,8 @@ private:
|
|||
bool test_conf;
|
||||
bool show_version;
|
||||
std::string config_file;
|
||||
std::string _argv;
|
||||
std::string _cwd;
|
||||
SrsConfDirective* root;
|
||||
std::vector<ISrsReloadHandler*> subscribes;
|
||||
public:
|
||||
|
@ -143,6 +145,9 @@ private:
|
|||
virtual int parse_file(const char* filename);
|
||||
virtual int parse_argv(int& i, char** argv);
|
||||
virtual void print_help(char** argv);
|
||||
public:
|
||||
virtual std::string get_cwd();
|
||||
virtual std::string get_argv();
|
||||
// global section
|
||||
public:
|
||||
virtual SrsConfDirective* get_root();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue