Searched refs:period_spec (Results 1 – 3 of 3) sorted by relevance
225 config_.period_spec.has_value() && in ShouldReportAtStartup()226 config_.period_spec->report_startup_first; in ShouldReportAtStartup()234 config_.period_spec.has_value() && in ShouldContinueReporting()236 !config_.period_spec->periods_seconds.empty() && in ShouldContinueReporting()238 (startup_reported_ || !config_.period_spec->report_startup_first) && in ShouldContinueReporting()240 (config_.period_spec->continuous_reporting || in ShouldContinueReporting()241 (report_interval_index_ < config_.period_spec->periods_seconds.size())); in ShouldContinueReporting()252 static_cast<uint32_t>(config_.period_spec->periods_seconds.size() - 1)); in GetNextPeriodSeconds()254 uint32_t result = config_.period_spec->periods_seconds[index]; in GetNextPeriodSeconds()257 if (report_interval_index_ < config_.period_spec->periods_seconds.size()) { in GetNextPeriodSeconds()[all …]
108 void SetupReporter(const char* period_spec, in SetupReporter() argument112 if (period_spec != nullptr) { in SetupReporter()115 config.period_spec = ReportingPeriodSpec::Parse(period_spec, &error); in SetupReporter()116 ASSERT_TRUE(config.period_spec.has_value()); in SetupReporter()
85 std::optional<ReportingPeriodSpec> period_spec; member