1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Add api for tcmalloc

This commit is contained in:
winlin 2020-03-25 17:00:16 +08:00
parent 574ae58adc
commit 35a037cf05
8 changed files with 138 additions and 4 deletions

View file

@ -483,6 +483,8 @@ public:
virtual bool inotify_auto_reload();
// Whether enable auto reload config for docker.
virtual bool auto_reload_for_docker();
// For tcmalloc, get the release rate.
virtual double tcmalloc_release_rate();
// stream_caster section
public:
// Get all stream_caster in config file.