Mac环境(php v5.3.3)。我需要分析xdebug分析日志。周围阅读我明白我应该使用Kcachegrind.I以下DevZone教程Profiling PHP applications with Xdebug。我被困在两个特定点: If possible, use your system's packet manager to install the KCachegrind package
我有一个模型代码,其中kcachegrind/callgrind报告奇怪的结果。这是一种调度功能。调度员从4个地方调用;每个呼叫说,实际do_J函数来运行,其中(所以first2将调用仅do_1和do_2等) 源(这是实际的代码的模型) #define N 1000000
int a[N];
int do_1(int *a) { int i; for(i=0;i<N/4;i++) a[i]+