Author: jm
Date: 2012-10-24 14:33:53 -0700 (Wed, 24 Oct 2012)
New Revision: 30704

Modified:
   
core3/gui-distribution/trunk/diagnostics/src/main/java/org/cytoscape/diagnostics/internal/PerformanceTracker.java
Log:
References #1529: Removed debugging code

Modified: 
core3/gui-distribution/trunk/diagnostics/src/main/java/org/cytoscape/diagnostics/internal/PerformanceTracker.java
===================================================================
--- 
core3/gui-distribution/trunk/diagnostics/src/main/java/org/cytoscape/diagnostics/internal/PerformanceTracker.java
   2012-10-24 21:31:13 UTC (rev 30703)
+++ 
core3/gui-distribution/trunk/diagnostics/src/main/java/org/cytoscape/diagnostics/internal/PerformanceTracker.java
   2012-10-24 21:33:53 UTC (rev 30704)
@@ -29,22 +29,12 @@
                StartLevel level = (StartLevel) context.getService(reference);
                if ( level.getStartLevel() == Activator.INITIAL_START_LEVEL ) {
                        
performanceDetails.setSystemLaunchEndTime(System.currentTimeMillis());
-                       dump();
                        finishedStarting = true;
                }
                context.ungetService(reference);
                }
        }
        
-       private void dump() {
-               for (Long id : performanceDetails.getObservedBundleIds()) {
-                       String description = 
performanceDetails.getBundleDescription(id);
-                       long latency = 
performanceDetails.getBundleLaunchLatency(id);
-                       long duration = 
performanceDetails.getBundleLaunchDuration(id);
-                       System.out.printf("%s\t%d\t%d\n", description, latency, 
duration);
-               }
-       }
-
        @Override
        public void bundleChanged(BundleEvent event) {
                switch (event.getType()) {

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to