Merge branch 'ONOS-ONRC2014-Measurements' of https://github.com/OPENNETWORKINGLAB/ONOS into ONOS-ONRC2014-Measurements
diff --git a/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowEventHandler.java b/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowEventHandler.java
index 1e3c67f..b5f1e16 100644
--- a/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowEventHandler.java
+++ b/src/main/java/net/onrc/onos/ofcontroller/flowmanager/FlowEventHandler.java
@@ -296,10 +296,14 @@
Map<Long, IOFSwitch> mySwitches = flowManager.getMySwitches();
// Process the Switch Dpid events
+ PerformanceMonitor.start("EventHandler.SwitchDpidEvents");
processSwitchDpidEvents();
+ PerformanceMonitor.stop("EventHandler.SwitchDpidEvents");
// Process the Flow ID events
+ PerformanceMonitor.start("EventHandler.FlowIdEvents");
processFlowIdEvents(mySwitches);
+ PerformanceMonitor.stop("EventHandler.FlowIdEvents");
// Fetch the topology
PerformanceMonitor.start("EventHandler.ReadTopology");
@@ -391,6 +395,8 @@
PerformanceMonitor.stop("EventHandler.ProcessAllEvents");
+ PerformanceMonitor.report("EventHandler.SwitchDpidEvents");
+ PerformanceMonitor.report("EventHandler.FlowIdEvents");
PerformanceMonitor.report("EventHandler.ReadTopology");
PerformanceMonitor.report("EventHandler.RecomputeFlows");
PerformanceMonitor.report("EventHandler.WriteFlowsToDb");