Lines Matching refs:profile
23 public function dump(Profile $profile) argument
26 $this->dumpProfile('main()', $profile, $data);
27 $this->dumpChildren('main()', $profile, $data);
45 private function dumpChildren($parent, Profile $profile, &$data) argument
47 foreach ($profile as $p) {
58 private function dumpProfile($edge, Profile $profile, &$data) argument
62 $data[$edge]['wt'] += floor($profile->getDuration() * 1000000);
63 $data[$edge]['mu'] += $profile->getMemoryUsage();
64 $data[$edge]['pmu'] += $profile->getPeakMemoryUsage();
68 'wt' => floor($profile->getDuration() * 1000000),
69 'mu' => $profile->getMemoryUsage(),
70 'pmu' => $profile->getPeakMemoryUsage(),