def sendStatsRequest(self,switch): startTime = time.time() switch.send(of.ofp_stats_request(body=of.ofp_flow_stats_request())) return startTime
def sendStatsRequest(self): self.startTime = time.time() self.switch.send(of.ofp_stats_request(body=of.ofp_flow_stats_request()))
def sendStatsRequest(self, switch): startTime = time.time() switch.send(of.ofp_stats_request(body=of.ofp_flow_stats_request())) return startTime