Module: nagvis
Branch: master
Commit: f61164d38527519d5c40fed5df2f9580e9a8b519
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis;a=commit;h=f61164d38527519d5c40fed5df2f9580e9a8b519

Author: LaMi <[email protected]>
Date:   Sun Mar 28 12:40:00 2010 +0200

Removed xhprof debug code

---

 share/server/core/ajax_handler.php |   23 -----------------------
 1 files changed, 0 insertions(+), 23 deletions(-)

diff --git a/share/server/core/ajax_handler.php 
b/share/server/core/ajax_handler.php
index 037653a..defbe32 100644
--- a/share/server/core/ajax_handler.php
+++ b/share/server/core/ajax_handler.php
@@ -22,8 +22,6 @@
  *
  *****************************************************************************/
 
-xhprof_enable(XHPROF_FLAGS_CPU + XHPROF_FLAGS_MEMORY);
-
 // Include global defines
 require('../../server/core/defines/global.php');
 require('../../server/core/defines/matches.php');
@@ -161,27 +159,6 @@ try {
 
 echo $sContent;
 if (DEBUG&&DEBUGLEVEL&4) debugFinalize();
-
-$xhprof_data = xhprof_disable();
-
-//
-// Saving the XHProf run
-// using the default implementation of iXHProfRuns.
-//
-include_once "/d/nagvis-dev/src/xhprof-0.9.2/xhprof_lib/utils/xhprof_lib.php";
-include_once "/d/nagvis-dev/src/xhprof-0.9.2/xhprof_lib/utils/xhprof_runs.php";
-
-$xhprof_runs = new XHProfRuns_Default();
-
-// Save the run under a namespace "xhprof_foo".
-//
-// **NOTE**:
-// By default save_run() will automatically generate a unique
-// run id for you. [You can override that behavior by passing
-// a run id (optional arg) to the save_run() method instead.]
-//
-$run_id = $xhprof_runs->save_run($xhprof_data, "nagvis");
-
 exit(1);
 
 ?>


------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to