Toggle navigation
Toggle navigation
此项目
正在载入...
Sign in
胡斌
/
srs
转到一个项目
Toggle navigation
项目
群组
代码片段
帮助
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
winlin
2014-03-06 16:52:51 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
03a14e2e1a85261134b28dd1522bef10df431a8d
03a14e2e
1 parent
ee7fafe4
add gperftools for mem leak detect, mem/cpu profile.
隐藏空白字符变更
内嵌
并排对比
正在显示
4 个修改的文件
包含
7 行增加
和
1 行删除
trunk/auto/options.sh
trunk/research/gperftools/cpu-profiler/cpu_profiler.cc
trunk/research/gperftools/heap-checker/heap_checker.cc
trunk/research/gperftools/heap-profiler/heap_profiler.cc
trunk/auto/options.sh
查看文件 @
03a14e2
...
...
@@ -28,7 +28,7 @@ SRS_FFMPEG=YES
SRS_HTTP
=
YES
SRS_RESEARCH
=
NO
SRS_UTEST
=
YES
SRS_GPERF
=
YES
SRS_GPERF
=
NO
#####################################################################################
# parse options
...
...
trunk/research/gperftools/cpu-profiler/cpu_profiler.cc
查看文件 @
03a14e2
...
...
@@ -21,6 +21,8 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/**
config srs with gperf(to make gperftools):
./configure --with-gperf --jobs=3
set the pprof path if not set:
export PPROF_PATH=`pwd`/../../../objs/pprof
to do cpu profile:
...
...
trunk/research/gperftools/heap-checker/heap_checker.cc
查看文件 @
03a14e2
...
...
@@ -21,6 +21,8 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/**
config srs with gperf(to make gperftools):
./configure --with-gperf --jobs=3
set the pprof path if not set:
export PPROF_PATH=`pwd`/../../../objs/pprof
to check mem leak:
...
...
trunk/research/gperftools/heap-profiler/heap_profiler.cc
查看文件 @
03a14e2
...
...
@@ -21,6 +21,8 @@ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
/**
config srs with gperf(to make gperftools):
./configure --with-gperf --jobs=3
set the pprof path if not set:
export PPROF_PATH=`pwd`/../../../objs/pprof
to do mem profile:
...
...
请
注册
或
登录
后发表评论