[xhprof]
extension=php_xhprof.dll
; directory used by default implementation of the iXHProfRuns
; interface (namely, the XHProfRuns_Default class) for storing
; XHProf runs.
xhprof.output_dir=”d:/wamp/logs/xhprof_log”
Inclusive Time 包括子函数所有执行时间。
Exclusive Time/Self Time 函数执行本身花费的时间,不包括子树执行时间。
Wall Time 花去了的时间或挂钟时间。
CPU Time 用户耗的时间+内核耗的时间
Inclusive CPU 包括子函数一起所占用的CPU
Exclusive CPU 函数自身所占用的CPU
( ! ) Warning: file_get_contents(e:/wamp/tmp/xhprof/tmp//d1dede98ac80af3210574c7f7145cfa2.png) [<a href='function.file-get-contents'>function.file-get-contents</a>]: failed to open stream: No such file or directory in E:\wamp\www\xhprof\xhprof_lib\utils\callgraph_utils.php on line 192
( ! ) Warning: unlink(e:/wamp/tmp/xhprof/tmp//d1dede98ac80af3210574c7f7145cfa2.png) [<a href='function.unlink'>function.unlink</a>]: No such file or directory in E:\wamp\www\xhprof\xhprof_lib\utils\callgraph_utils.php on line 202 找了半天原来是Graphviz的路径不对:
config.php:
<?php
/*
* Set the absolute paths on your system
*/
define('ERROR_FILE', 'e:/wamp/logs/xhprof_dot_errfile.log');
define('TMP_DIRECTORY', 'e:/wamp/tmp/xhprof/tmp/');
define('DOT_BINARY', 'd:/Program Files/Grafika/Graphviz/bin/dot.exe');
?>
==》改成:
<?php
/*
* Set the absolute paths on your system
*/
define('ERROR_FILE', 'e:/wamp/logs/xhprof_dot_errfile.log');
define('TMP_DIRECTORY', 'e:/wamp/tmp/xhprof/tmp/');
define('DOT_BINARY', 'd:/Program Files/Grafika/Graphviz/bin/dot');
?>