You are here

function xhprof_display_diff_page in XHProf 6

Same name and namespace in other branches
  1. 7 xhprof.module \xhprof_display_diff_page()

Page callback to display a difference of two XHProf runs.

1 string reference to 'xhprof_display_diff_page'
xhprof_menu in ./xhprof.module
Implementation of hook_menu().

File

./xhprof.module, line 299

Code

function xhprof_display_diff_page($run1, $run2, $symbol = NULL) {
  drupal_add_css(drupal_get_path('module', 'xhprof') . '/xhprof.css');
  return xhprof_display_run(array(
    $run1,
    $run2,
  ), $symbol = NULL);
}