func (self *PointRange) UpdateRange(point *protocol.Point) { timestamp := *point.GetTimestampInMicroseconds() if timestamp < self.startTime { self.startTime = timestamp } if timestamp > self.endTime { self.endTime = timestamp } }
func (self *AggregatorEngine) getTimestampFromPoint(point *protocol.Point) int64 { return self.getTimestampBucket(*point.GetTimestampInMicroseconds()) }