mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
add cpu profile
This commit is contained in:
parent
4061f0db58
commit
9896842b05
2 changed files with 79 additions and 0 deletions
6
trunk/research/gperftools/cpu-profiler/Makefile
Normal file
6
trunk/research/gperftools/cpu-profiler/Makefile
Normal file
|
@ -0,0 +1,6 @@
|
|||
cpu_profiler: cpu_profiler.cc Makefile
|
||||
g++ -o cpu_profiler cpu_profiler.cc -g -O0 -ansi \
|
||||
-fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free \
|
||||
-I../../../objs/gperf/include ../../../objs/gperf/lib/libtcmalloc_and_profiler.a -lpthread
|
||||
clean:
|
||||
rm -f cpu_profiler ./srs.conf*
|
Loading…
Add table
Add a link
Reference in a new issue