Lines Matching refs:int64_t

37     std::optional<int64_t> metricId;
38 std::optional<int64_t> stateId;
39 std::optional<int64_t> alertId;
40 std::optional<int64_t> alarmId;
41 std::optional<int64_t> subscriptionId;
42 std::vector<int64_t> matcherIds;
43 std::vector<int64_t> conditionIds;
46 InvalidConfigReason(InvalidConfigReasonEnum reason, int64_t metricId) in InvalidConfigReason()
57 int64_t insertError = 0;
58 int64_t tableCreationError = 0;
59 int64_t tableDeletionError = 0;
60 std::list<int64_t> flushLatencyNs;
61 int64_t categoryChangedCount = 0;
77 int64_t id;
110 std::list<int64_t> data_drop_bytes;
115 std::map<const int64_t, int> matcher_stats;
120 std::map<const int64_t, int> condition_stats;
125 std::map<const int64_t, int> metric_stats;
131 std::map<const int64_t, int> metric_dimension_in_condition_stats;
135 std::map<const int64_t, int> alert_stats;
138 std::list<std::pair<const int64_t, const int32_t>> annotations;
141 std::map<int64_t, RestrictedMetricStats> restricted_metric_stats;
143 std::list<int64_t> total_flush_latency_ns;
146 std::list<int64_t> total_db_size_timestamps;
149 std::list<int64_t> total_db_sizes;
236 static const int64_t kMinBroadcastPeriodNs = 60 * NS_PER_SEC;
239 static const int64_t kMinByteSizeCheckPeriodNs = 1 * 60 * NS_PER_SEC;
243 static const int64_t kMinByteSizeV2CheckPeriodNs = 5 * 60 * NS_PER_SEC;
246 static const int64_t kMinTtlCheckPeriodNs = 60 * 60 * NS_PER_SEC;
249 static const int64_t kMinFlushRestrictedPeriodNs = 60 * 60 * NS_PER_SEC;
252 static const int64_t kMinDbGuardrailEnforcementPeriodNs = 60 * 60 * NS_PER_SEC;
255 static const int64_t kMinActivationBroadcastPeriodNs = 10 * NS_PER_SEC;
273 static const int64_t kPullMaxDelayNs = 30 * NS_PER_SEC;
306 static const int64_t kInt64Max = 0x7fffffffffffffffLL;
323 const std::list<std::pair<const int64_t, const int32_t>>& annotations,
414 void noteConditionDimensionSize(const ConfigKey& key, int64_t id, int size);
426 void noteMetricDimensionSize(const ConfigKey& key, int64_t id, int size);
438 void noteMetricDimensionInConditionSize(const ConfigKey& key, int64_t id, int size);
446 void noteMatcherMatched(const ConfigKey& key, int64_t id);
454 void noteAnomalyDeclared(const ConfigKey& key, int64_t id);
511 void notePullTime(int pullAtomId, int64_t pullTimeNs);
517 void notePullDelay(int pullAtomId, int64_t pullDelayNs);
522 void notePullTimeout(int pullAtomId, int64_t pullUptimeMillis, int64_t pullElapsedMillis);
581 void noteHardDimensionLimitReached(int64_t metricId);
586 void noteLateLogEventSkipped(int64_t metricId);
591 void noteSkippedForwardBuckets(int64_t metricId);
596 void noteBadValueType(int64_t metricId);
601 void noteBucketDropped(int64_t metricId);
606 void noteConditionChangeInNextBucket(int64_t metricId);
611 void noteInvalidatedBucket(int64_t metricId);
616 void noteBucketCount(int64_t metricId);
622 void noteBucketBoundaryDelayNs(int64_t metricId, int64_t timeDelayNs);
627 void noteBucketUnknownCondition(int64_t metricId);
631 void noteEventQueueOverflow(int64_t oldestEventTimestampNs, int32_t atomId, bool isSkipped);
634 void noteEventQueueSize(int32_t size, int64_t eventTimestampNs);
653 void noteQueryRestrictedMetricSucceed(const int64_t configId, const string& configPackage,
655 const int32_t callingUid, int64_t queryLatencyNs);
658 void noteQueryRestrictedMetricFailed(const int64_t configId, const string& configPackage,
663 void noteQueryRestrictedMetricFailed(const int64_t configId, const string& configPackage,
669 void noteRestrictedMetricInsertError(const ConfigKey& configKey, int64_t metricId);
672 void noteRestrictedMetricTableCreationError(const ConfigKey& configKey, int64_t metricId);
675 void noteRestrictedMetricTableDeletionError(const ConfigKey& configKey, int64_t metricId);
678 void noteRestrictedMetricFlushLatency(const ConfigKey& configKey, int64_t metricId,
679 const int64_t flushLatencyNs);
682 void noteRestrictedMetricCategoryChanged(const ConfigKey& configKey, int64_t metricId);
686 const int64_t totalFlushLatencyNs);
689 void noteRestrictedConfigDbSize(const ConfigKey& configKey, int64_t elapsedTimeNs,
690 const int64_t dbSize);
725 void noteBatchSocketRead(int32_t size, int64_t lastReadTimeNs, int64_t currReadTimeNs,
726 int64_t minAtomReadTimeNs, int64_t maxAtomReadTimeNs,
751 bool hasHitDimensionGuardrail(int64_t metricId) const;
785 int64_t pullTimeoutUptimeMillis;
786 int64_t pullTimeoutElapsedMillis;
787 PullTimeoutMetadata(int64_t uptimeMillis, int64_t elapsedMillis) in PullTimeoutMetadata()
797 int64_t avgPullTimeNs = 0;
798 int64_t maxPullTimeNs = 0;
800 int64_t avgPullDelayNs = 0;
801 int64_t maxPullDelayNs = 0;
826 int64_t minBucketBoundaryDelayNs = 0;
827 int64_t maxBucketBoundaryDelayNs = 0;
887 SocketLossStats(int32_t uid, int64_t firstLossTsNanos, int64_t lastLossTsNanos) in SocketLossStats()
892 int64_t mFirstLossTsNanos;
893 int64_t mLastLossTsNanos;
915 std::map<int64_t, AtomMetricStats> mAtomMetricStats;
942 int64_t mMaxQueueHistoryNs = 0;
946 int64_t mMinQueueHistoryNs = kInt64Max;
955 int64_t mEventQueueMaxSizeObservedElapsedNanos = 0;
962 std::vector<int64_t> mSocketBatchReadHistogram;
966 LargeBatchSocketReadStats(int32_t size, int64_t lastReadTimeNs, int64_t currReadTimeNs, in LargeBatchSocketReadStats()
967 int64_t minAtomReadTimeNs, int64_t maxAtomReadTimeNs, in LargeBatchSocketReadStats()
979 int64_t mLastReadTimeNs;
980 int64_t mCurrReadTimeNs;
982 int64_t mMinAtomReadTimeNs;
983 int64_t mMaxAtomReadTimeNs;
991 RestrictedMetricQueryStats(int32_t callingUid, int64_t configId, in RestrictedMetricQueryStats()
993 int64_t queryTimeNs, in RestrictedMetricQueryStats()
995 const string& error, std::optional<int64_t> queryLatencyNs) in RestrictedMetricQueryStats()
1007 int64_t mConfigId;
1010 int64_t mQueryWallTimeNs;
1014 std::optional<int64_t> mQueryLatencyNs;
1018 void noteQueryRestrictedMetricFailedLocked(const int64_t configId, const string& configPackage,
1070 StatsdStats::AtomMetricStats& getAtomMetricStats(int64_t metricId);
1113 const int64_t matcherId);
1116 const int64_t metricId,
1117 const int64_t matcherId);
1120 const int64_t conditionId);
1123 const int64_t metricId,
1124 const int64_t conditionId);
1127 const int64_t metricId,
1128 const int64_t stateId);
1131 const int64_t alertId);
1134 const int64_t metricId,
1135 const int64_t alertId);
1138 const int64_t alarmId);
1141 const int64_t subscriptionId);
1144 const InvalidConfigReasonEnum reason, int64_t subscriptionId, int64_t alarmId);
1147 const InvalidConfigReasonEnum reason, int64_t subscriptionId, int64_t alertId);