Lines Matching refs:data
25 $data = [];
26 $this->dumpProfile('main()', $profile, $data);
27 $this->dumpChildren('main()', $profile, $data);
38 foreach ($data as $name => $values) {
45 private function dumpChildren($parent, Profile $profile, &$data) argument
53 $this->dumpProfile(sprintf('%s==>%s', $parent, $name), $p, $data);
54 $this->dumpChildren($name, $p, $data);
58 private function dumpProfile($edge, Profile $profile, &$data) argument
60 if (isset($data[$edge])) {
61 ++$data[$edge]['ct'];
62 $data[$edge]['wt'] += floor($profile->getDuration() * 1000000);
63 $data[$edge]['mu'] += $profile->getMemoryUsage();
64 $data[$edge]['pmu'] += $profile->getPeakMemoryUsage();
66 $data[$edge] = [