存档

文章标签 ‘xdebug’

修改xdebug的输出文件名

2010年6月12日 没有评论

xdebug的性能测试输出文件名默认是 xdebug.profiler_output_name = cachegrind.out.%p
%p是服务器的pid,会输出“cachegrind.out.1408”之类的文件。
可替代的符号有:
符号     含义     配置样例     样例文件名
%c     当前工作目录的crc32校验值     trace.%c     trace.1258863198.xt
%p     当前服务器进程的pid     trace.%p     trace.5174.xt
%r     随机数     trace.%r     trace.072db0.xt
%s     脚本文件名(注)     cachegrind.out.%s     cachegrind.out._home_httpd_html_test_xdebug_test_php
%t     Unix时间戳(秒)     trace.%t     trace.1179434742.xt
%u     Unix时间戳(微秒)

分类: PHP 标签: