摘要: xhprof的安装是很简单,记录下其在php函数中的使用代码别让自己给忘记了:public static function startXhprof() { if (function_exists('xhprof_enable')) { xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY); } } public static function showXhprof() { if (function_exists('xhprof_enable') && function_exists(' 阅读全文
posted @ 2012-11-12 08:56 Linux、Mongo、Php、Shell、Python、C 阅读(285) 评论(0) 推荐(0) 编辑