/ntohl.jpg

NTOHL

使用 google-perftools 进行 C/C++ 性能分析

安装 libunwind 1 2 3 4 5 wget https://github.com/libunwind/libunwind/releases/download/v1.3.0/libunwind-1.3.0.tar.gz --no-check-certificate tar -xvf libunwind-1.3.0.tar.gz cd libunwind-1.3.0 ./configure make && make install 安装 gperftools 1 2 3 4 5 6 git clone https://github.com/gperftools/gperftools cd gperftools/ sh autogen.sh ./configure make && make install ln -s /usr/local/lib/libprofiler.so.0 /usr/lib64/libprofiler.so.0 最后一步的软链,64 位系统放 /usr/lib64