@@ 250-260 (lines=11) @@ | ||
247 | )); |
|
248 | } |
|
249 | ||
250 | public function callgraph() |
|
251 | { |
|
252 | $request = $this->_app->request(); |
|
253 | $profile = $this->_profiles->get($request->get('id')); |
|
254 | ||
255 | $this->_template = 'runs/callgraph.twig'; |
|
256 | $this->set(array( |
|
257 | 'profile' => $profile, |
|
258 | 'date_format' => $this->_app->config('date.format'), |
|
259 | )); |
|
260 | } |
|
261 | ||
262 | public function callgraphData() |
|
263 | { |
|
@@ 275-285 (lines=11) @@ | ||
272 | return $response->body(json_encode($callgraph)); |
|
273 | } |
|
274 | ||
275 | public function flamegraph() |
|
276 | { |
|
277 | $request = $this->_app->request(); |
|
278 | $profile = $this->_profiles->get($request->get('id')); |
|
279 | ||
280 | $this->_template = 'runs/flamegraph.twig'; |
|
281 | $this->set(array( |
|
282 | 'profile' => $profile, |
|
283 | 'date_format' => $this->_app->config('date.format'), |
|
284 | )); |
|
285 | } |
|
286 | ||
287 | public function flamegraphData() |
|
288 | { |