• Home
  • Raw
  • Download

Lines Matching refs:interval

364         for (auto& interval : slice.second) {  in resetBase()  local
365 interval.hasBase = false; in resetBase()
560 for (auto& interval : slice.second) { in accumulateEvents() local
561 interval.hasBase = false; in accumulateEvents()
589 for (const auto& interval : it.second) { in dumpStatesLocked() local
593 interval.value.toString().c_str()); in dumpStatesLocked()
720 Interval& interval = multiIntervals[i]; in onMatchedLogEventInternalLocked() local
721 interval.valueIndex = i; in onMatchedLogEventInternalLocked()
728 interval.seenNewData = true; in onMatchedLogEventInternalLocked()
731 if (!interval.hasBase) { in onMatchedLogEventInternalLocked()
735 interval.base = (value.type == LONG ? ZERO_LONG : ZERO_DOUBLE); in onMatchedLogEventInternalLocked()
736 interval.hasBase = true; in onMatchedLogEventInternalLocked()
739 interval.base = value; in onMatchedLogEventInternalLocked()
740 interval.hasBase = true; in onMatchedLogEventInternalLocked()
751 if (value >= interval.base) { in onMatchedLogEventInternalLocked()
752 diff = value - interval.base; in onMatchedLogEventInternalLocked()
758 interval.base = value; in onMatchedLogEventInternalLocked()
765 if (interval.base >= value) { in onMatchedLogEventInternalLocked()
766 diff = interval.base - value; in onMatchedLogEventInternalLocked()
772 interval.base = value; in onMatchedLogEventInternalLocked()
779 diff = value - interval.base; in onMatchedLogEventInternalLocked()
784 interval.base = value; in onMatchedLogEventInternalLocked()
788 if (interval.hasValue) { in onMatchedLogEventInternalLocked()
793 interval.value += value; in onMatchedLogEventInternalLocked()
796 interval.value = std::min(value, interval.value); in onMatchedLogEventInternalLocked()
799 interval.value = std::max(value, interval.value); in onMatchedLogEventInternalLocked()
805 interval.value = value; in onMatchedLogEventInternalLocked()
806 interval.hasValue = true; in onMatchedLogEventInternalLocked()
808 interval.sampleSize += 1; in onMatchedLogEventInternalLocked()
897 for (const auto& interval : intervals) { in buildPartialBucket() local
898 if (interval.hasValue) { in buildPartialBucket()
900 if (mSkipZeroDiffOutput && mUseDiff && interval.value.isZero()) { in buildPartialBucket()
903 bucket.valueIndex.push_back(interval.valueIndex); in buildPartialBucket()
905 bucket.values.push_back(interval.value); in buildPartialBucket()
907 double sum = interval.value.type == LONG ? (double)interval.value.long_value in buildPartialBucket()
908 : interval.value.double_value; in buildPartialBucket()
909 bucket.values.push_back(Value((double)sum / interval.sampleSize)); in buildPartialBucket()
921 for (auto& interval : it->second) { in initCurrentSlicedBucket() local
922 interval.hasValue = false; in initCurrentSlicedBucket()
923 interval.sampleSize = 0; in initCurrentSlicedBucket()
924 if (interval.seenNewData) { in initCurrentSlicedBucket()
927 interval.seenNewData = false; in initCurrentSlicedBucket()
967 auto& interval = slice.second[0]; in appendToFullBucket() local
968 if (interval.hasValue) { in appendToFullBucket()
969 mCurrentFullBucket[slice.first] += interval.value.long_value; in appendToFullBucket()
986 auto& interval = slice.second[0]; in appendToFullBucket() local
987 if (interval.hasValue) { in appendToFullBucket()
988 tracker->addPastBucket(slice.first, interval.value.long_value, in appendToFullBucket()
999 auto& interval = slice.second[0]; in appendToFullBucket() local
1000 if (interval.hasValue) { in appendToFullBucket()
1001 mCurrentFullBucket[slice.first] += interval.value.long_value; in appendToFullBucket()