示例#1
0
 def _summarizeData(self, operation, data, total_count):
     data = SummarizingMixin._summarizeData(self, operation, data,
                                            total_count)
     value = self.qos_value(operation, data[-4])
     if value is None:
         value = 0.0
     return data[:-1] + (value, ) + data[-1:]
示例#2
0
 def _summarizeData(self, operation, data):
     avglag = mean(self._perOperationLags.get(operation, [0.0])) * 1000.0
     data = SummarizingMixin._summarizeData(self, operation, data)
     return data[:-1] + (avglag,) + data[-1:]
示例#3
0
 def _summarizeData(self, operation, data):
     avglag = mean(self._perOperationLags.get(operation, [0.0])) * 1000.0
     data = SummarizingMixin._summarizeData(self, operation, data)
     return data[:-1] + (avglag, ) + data[-1:]
 def _summarizeData(self, operation, data):
     data = SummarizingMixin._summarizeData(self, operation, data)
     value = self.qos_value(operation, data[-4])
     if value is None:
         value = 0.0
     return data[:-1] + (value,) + data[-1:]