| @@ 275-285 (lines=11) @@ | ||
| 272 | )); |
|
| 273 | } |
|
| 274 | ||
| 275 | public function callgraph() |
|
| 276 | { |
|
| 277 | $request = $this->app->request(); |
|
| 278 | $profile = $this->profiles->get($request->get('id')); |
|
| 279 | ||
| 280 | $this->_template = 'runs/callgraph.twig'; |
|
| 281 | $this->set(array( |
|
| 282 | 'profile' => $profile, |
|
| 283 | 'date_format' => $this->app->config('date.format'), |
|
| 284 | )); |
|
| 285 | } |
|
| 286 | ||
| 287 | public function callgraphData() |
|
| 288 | { |
|
| @@ 300-310 (lines=11) @@ | ||
| 297 | return $response->body(json_encode($callgraph)); |
|
| 298 | } |
|
| 299 | ||
| 300 | public function flamegraph() |
|
| 301 | { |
|
| 302 | $request = $this->app->request(); |
|
| 303 | $profile = $this->profiles->get($request->get('id')); |
|
| 304 | ||
| 305 | $this->_template = 'runs/flamegraph.twig'; |
|
| 306 | $this->set(array( |
|
| 307 | 'profile' => $profile, |
|
| 308 | 'date_format' => $this->app->config('date.format'), |
|
| 309 | )); |
|
| 310 | } |
|
| 311 | ||
| 312 | public function flamegraphData() |
|
| 313 | { |
|