Lines Matching refs:interval

655           for (const auto& interval : it.second) {  in dumpStatesLocked()  local
659 interval.value.toString().c_str()); in dumpStatesLocked()
819 Interval& interval = intervals[i]; in onMatchedLogEventInternalLocked() local
820 interval.valueIndex = i; in onMatchedLogEventInternalLocked()
829 interval.seenNewData = true; in onMatchedLogEventInternalLocked()
890 if (interval.hasValue) { in onMatchedLogEventInternalLocked()
895 interval.value += value; in onMatchedLogEventInternalLocked()
898 interval.value = std::min(value, interval.value); in onMatchedLogEventInternalLocked()
901 interval.value = std::max(value, interval.value); in onMatchedLogEventInternalLocked()
907 interval.value = value; in onMatchedLogEventInternalLocked()
908 interval.hasValue = true; in onMatchedLogEventInternalLocked()
910 interval.sampleSize += 1; in onMatchedLogEventInternalLocked()
1034 for (const auto& interval : intervals) { in buildPartialBucket() local
1035 if (interval.hasValue) { in buildPartialBucket()
1037 if (mSkipZeroDiffOutput && mUseDiff && interval.value.isZero()) { in buildPartialBucket()
1040 bucket.valueIndex.push_back(interval.valueIndex); in buildPartialBucket()
1042 bucket.values.push_back(interval.value); in buildPartialBucket()
1044 double sum = interval.value.type == LONG ? (double)interval.value.long_value in buildPartialBucket()
1045 : interval.value.double_value; in buildPartialBucket()
1046 bucket.values.push_back(Value((double)sum / interval.sampleSize)); in buildPartialBucket()
1058 for (auto& interval : it->second) { in initCurrentSlicedBucket() local
1059 interval.hasValue = false; in initCurrentSlicedBucket()
1060 interval.sampleSize = 0; in initCurrentSlicedBucket()
1061 if (interval.seenNewData) { in initCurrentSlicedBucket()
1064 interval.seenNewData = false; in initCurrentSlicedBucket()
1106 auto& interval = slice.second[0]; in appendToFullBucket() local
1107 if (interval.hasValue) { in appendToFullBucket()
1108 mCurrentFullBucket[slice.first] += interval.value.long_value; in appendToFullBucket()
1125 auto& interval = slice.second[0]; in appendToFullBucket() local
1126 if (interval.hasValue) { in appendToFullBucket()
1127 tracker->addPastBucket(slice.first, interval.value.long_value, in appendToFullBucket()
1138 auto& interval = slice.second[0]; in appendToFullBucket() local
1139 if (interval.hasValue) { in appendToFullBucket()
1140 mCurrentFullBucket[slice.first] += interval.value.long_value; in appendToFullBucket()