1
0
Fork 0
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:
winlin 2014-03-06 16:46:59 +08:00
parent 4061f0db58
commit 9896842b05
2 changed files with 79 additions and 0 deletions

View 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*