Home
last modified time | relevance | path

Searched refs:current_time_ms (Results 1 – 25 of 52) sorted by relevance

123

/external/webrtc/rtc_base/numerics/
Dmoving_max_counter.h42 void Add(const T& sample, int64_t current_time_ms);
46 absl::optional<T> Max(int64_t current_time_ms);
70 void MovingMaxCounter<T>::Add(const T& sample, int64_t current_time_ms) { in Add() argument
71 RollWindow(current_time_ms); in Add()
82 if (samples_.empty() || samples_.back().first < current_time_ms) { in Add()
83 samples_.emplace_back(std::make_pair(current_time_ms, sample)); in Add()
88 absl::optional<T> MovingMaxCounter<T>::Max(int64_t current_time_ms) { in Max() argument
89 RollWindow(current_time_ms); in Max()
/external/icing/icing/result/
Dresult-state-manager.cc46 const ResultRetrieverV2& result_retriever, int64_t current_time_ms) { in CacheAndRetrieveFirstPage() argument
60 result_retriever.RetrieveNextPage(*result_state, current_time_ms); in CacheAndRetrieveFirstPage()
88 current_time_ms); in CacheAndRetrieveFirstPage()
92 next_page_token = Add(std::move(result_state), current_time_ms); in CacheAndRetrieveFirstPage()
99 int64_t current_time_ms) { in Add() argument
104 token_queue_.push(std::make_pair(new_token, current_time_ms)); in Add()
112 int64_t current_time_ms) { in GetNextPage() argument
120 current_time_ms); in GetNextPage()
132 result_retriever.RetrieveNextPage(*result_state, current_time_ms); in GetNextPage()
237 int64_t result_state_ttl, int64_t current_time_ms) { in InternalInvalidateExpiredResultStates() argument
[all …]
Dresult-state-manager.h80 const ResultRetrieverV2& result_retriever, int64_t current_time_ms)
97 int64_t current_time_ms) ICING_LOCKS_EXCLUDED(mutex_);
145 int64_t current_time_ms) ICING_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
173 int64_t current_time_ms)
Dresult-retriever-v2.cc104 int64_t current_time_ms) const { in ShouldBeRemoved()
107 scored_document_hit.document_id(), current_time_ms); in ShouldBeRemoved()
157 ResultStateV2& result_state, int64_t current_time_ms) const { in RetrieveNextPage()
176 current_time_ms)) { in RetrieveNextPage()
/external/tensorflow/tensorflow/examples/speech_commands/
Drecognize_commands.cc36 const int64_t current_time_ms, in ProcessLatestResults() argument
47 (current_time_ms < previous_results_.front().first)) { in ProcessLatestResults()
51 current_time_ms, " that was earlier than the previous one of ", in ProcessLatestResults()
56 previous_results_.push_back({current_time_ms, latest_results}); in ProcessLatestResults()
59 const int64_t time_limit = current_time_ms - average_window_duration_ms_; in ProcessLatestResults()
68 const int64_t samples_duration = current_time_ms - earliest_time; in ProcessLatestResults()
111 time_since_last_top = current_time_ms - previous_top_label_time_; in ProcessLatestResults()
117 previous_top_label_time_ = current_time_ms; in ProcessLatestResults()
Drecognize_commands.py113 def process_latest_result(self, latest_results, current_time_ms, argument
137 current_time_ms < self._previous_results[0][0]):
141 current_time_ms, self._previous_results[0][0]))
144 self._previous_results.append([current_time_ms, latest_results])
147 time_limit = current_time_ms - self._average_window_duration_ms
154 sample_duration = current_time_ms - earliest_time
185 time_since_last_top = current_time_ms - self._previous_top_time
190 self._previous_top_time = current_time_ms
Drecognize_commands_test.cc50 int64_t current_time_ms = 0 + (i * 100); in TEST() local
52 results, current_time_ms, &found_command, &score, &is_new_command)); in TEST()
69 int64_t current_time_ms = 1000 + (i * 100); in TEST() local
71 results, current_time_ms, &found_command, &score, &is_new_command)); in TEST()
Dtest_streaming_accuracy.py151 current_time_ms = int(audio_data_offset * 1000 / sample_rate)
153 recognize_commands.process_latest_result(outputs, current_time_ms,
161 [recognize_element.founded_command, current_time_ms])
163 stats.calculate_accuracy_stats(all_found_words, current_time_ms,
172 current_time_ms, recognize_element.founded_command,
Dtest_streaming_accuracy.cc264 const int64_t current_time_ms = (audio_data_offset * 1000) / sample_rate; in main() local
269 outputs[0], current_time_ms, &found_command, &score, &is_new_command); in main()
276 all_found_words.push_back({found_command, current_time_ms}); in main()
280 current_time_ms, time_tolerance_ms, in main()
298 LOG(INFO) << current_time_ms << "ms: " << found_command << ": " << score in main()
/external/webrtc/common_video/
Dbitrate_adjuster.cc77 uint32_t current_time_ms = rtc::TimeMillis(); in Update() local
78 bitrate_tracker_.Update(frame_size, current_time_ms); in Update()
79 UpdateBitrate(current_time_ms); in Update()
112 void BitrateAdjuster::UpdateBitrate(uint32_t current_time_ms) { in UpdateBitrate() argument
114 current_time_ms - last_bitrate_update_time_ms_; in UpdateBitrate()
123 bitrate_tracker_.Rate(current_time_ms).value_or(target_bitrate_bps); in UpdateBitrate()
154 last_bitrate_update_time_ms_ = current_time_ms; in UpdateBitrate()
/external/icing/icing/query/
Dquery-processor.cc144 int64_t current_time_ms) { in ParseSearch() argument
157 ParseAdvancedQuery(search_spec, ranking_strategy, current_time_ms)); in ParseSearch()
160 results, ParseRawQuery(search_spec, ranking_strategy, current_time_ms)); in ParseSearch()
178 options, current_time_ms); in ParseSearch()
185 int64_t current_time_ms) const { in ParseAdvancedQuery()
211 needs_term_frequency_info, current_time_ms); in ParseAdvancedQuery()
220 int64_t current_time_ms) { in ParseRawQuery() argument
346 options, current_time_ms); in ParseRawQuery()
404 std::move(section_restricts), current_time_ms); in ParseRawQuery()
Dquery-processor.h71 int64_t current_time_ms);
91 int64_t current_time_ms) const;
105 int64_t current_time_ms);
/external/icing/icing/scoring/
Dscorer-factory.cc114 double default_score, int64_t current_time_ms) in UsageScorer() argument
118 current_time_ms_(current_time_ms) {} in UsageScorer()
177 int64_t current_time_ms, const JoinChildrenFetcher* join_children_fetcher) { in Create() argument
202 document_store, section_weights.get(), current_time_ms); in Create()
220 default_score, current_time_ms); in Create()
227 schema_store, current_time_ms, in Create()
/external/icing/icing/store/
Ddocument-store.cc1059 int64_t current_time_ms = clock_.GetSystemTimeMilliseconds(); in Get() local
1061 GetAliveDocumentFilterData(document_id, current_time_ms); in Get()
1124 int64_t current_time_ms = clock_.GetSystemTimeMilliseconds(); in GetAllNamespaces() local
1137 if (GetAliveDocumentFilterData(document_id, current_time_ms)) { in GetAllNamespaces()
1151 DocumentId document_id, int64_t current_time_ms) const { in GetAliveDocumentFilterData()
1155 return GetNonExpiredDocumentFilterData(document_id, current_time_ms); in GetAliveDocumentFilterData()
1176 int64_t current_time_ms) const { in GetNonExpiredDocumentFilterData()
1189 if (current_time_ms >= document_filter_data.expiration_timestamp_ms()) { in GetNonExpiredDocumentFilterData()
1197 int64_t current_time_ms) { in Delete() argument
1206 return Delete(document_id_or.ValueOrDie(), current_time_ms); in Delete()
[all …]
Ddocument-store.h233 int64_t current_time_ms);
248 int64_t current_time_ms);
344 DocumentId document_id, int64_t current_time_ms) const;
352 DocumentId document_id, int64_t current_time_ms) const;
719 DocumentId document_id, int64_t current_time_ms) const;
/external/icing/icing/scoring/advanced_scoring/
Dadvanced-scorer.cc33 const SchemaStore* schema_store, int64_t current_time_ms, in Create() argument
50 current_time_ms); in Create()
53 join_children_fetcher, current_time_ms); in Create()
Dscore-expression.h223 int64_t current_time_ms);
238 int64_t current_time_ms) in DocumentFunctionScoreExpression() argument
243 current_time_ms_(current_time_ms) {} in DocumentFunctionScoreExpression()
322 const SectionWeights* section_weights, int64_t current_time_ms);
336 const SectionWeights* section_weights, int64_t current_time_ms) in PropertyWeightsFunctionScoreExpression() argument
339 current_time_ms_(current_time_ms) {} in PropertyWeightsFunctionScoreExpression()
/external/liburing/test/
D35fa71a030ca.c39 static uint64_t current_time_ms(void) in current_time_ms() function
103 uint64_t start = current_time_ms(); in event_timedwait()
113 now = current_time_ms(); in event_timedwait()
251 uint64_t start = current_time_ms(); in loop()
256 if (current_time_ms() - start < 5 * 1000) in loop()
Da4c0b3decb33.c31 static uint64_t current_time_ms(void) in current_time_ms() function
121 uint64_t start = current_time_ms(); in loop()
126 if (current_time_ms() - start < 5 * 1000) in loop()
Dsqpoll-cancel-hang.c14 static uint64_t current_time_ms(void) in current_time_ms() function
145 uint64_t start = current_time_ms(); in main()
147 if (current_time_ms() - start < 1000) { in main()
Dsqpoll-disable-exit.c32 static uint64_t current_time_ms(void) in current_time_ms() function
163 uint64_t start = current_time_ms(); in loop()
168 if (current_time_ms() - start < 5000) { in loop()
Dpollfree.c35 static uint64_t current_time_ms(void) in current_time_ms() function
99 uint64_t start = current_time_ms(); in event_timedwait()
109 now = current_time_ms(); in event_timedwait()
328 uint64_t start = current_time_ms(); in loop()
333 if (current_time_ms() - start < 5000) in loop()
/external/icing/icing/query/advanced_query_parser/
Dquery-visitor.h57 bool needs_term_frequency_info, int64_t current_time_ms) in QueryVisitor() argument
62 /*processing_not=*/false, current_time_ms) {} in QueryVisitor()
115 int64_t current_time_ms) in QueryVisitor() argument
129 current_time_ms_(current_time_ms) { in QueryVisitor()
/external/webrtc/rtc_base/
Drate_tracker.cc114 void RateTracker::AddSamplesAtTime(int64_t current_time_ms, in AddSamplesAtTime() argument
121 current_time_ms >= in AddSamplesAtTime()
132 ((current_time_ms - bucket_start_time_milliseconds_) / in AddSamplesAtTime()
/external/icing/icing/join/
Djoin-processor.h41 int64_t current_time_ms) in JoinProcessor() argument
45 current_time_ms_(current_time_ms) {} in JoinProcessor()

123