/external/webrtc/rtc_base/numerics/ |
D | moving_max_counter.h | 39 void Add(const T& sample, int64_t current_time_ms); 43 absl::optional<T> Max(int64_t current_time_ms); 68 void MovingMaxCounter<T>::Add(const T& sample, int64_t current_time_ms) { in Add() argument 69 RollWindow(current_time_ms); in Add() 80 if (samples_.empty() || samples_.back().first < current_time_ms) { in Add() 81 samples_.emplace_back(std::make_pair(current_time_ms, sample)); in Add() 86 absl::optional<T> MovingMaxCounter<T>::Max(int64_t current_time_ms) { in Max() argument 87 RollWindow(current_time_ms); in Max()
|
/external/tensorflow/tensorflow/lite/micro/examples/micro_speech/ |
D | recognize_commands.cc | 36 const TfLiteTensor* latest_results, const int32_t current_time_ms, in ProcessLatestResults() argument 59 (current_time_ms < previous_results_.front().time_)) { in ProcessLatestResults() 64 current_time_ms, previous_results_.front().time_); in ProcessLatestResults() 69 previous_results_.push_back({current_time_ms, latest_results->data.int8}); in ProcessLatestResults() 72 const int64_t time_limit = current_time_ms - average_window_duration_ms_; in ProcessLatestResults() 82 const int64_t samples_duration = current_time_ms - earliest_time; in ProcessLatestResults() 127 time_since_last_top = current_time_ms - previous_top_label_time_; in ProcessLatestResults() 133 previous_top_label_time_ = current_time_ms; in ProcessLatestResults()
|
D | recognize_commands_test.cc | 108 int32_t current_time_ms = 0 + (i * 100); in TF_LITE_MICRO_TEST() local 111 &yes_results, current_time_ms, &found_command, &score, in TF_LITE_MICRO_TEST() 134 int32_t current_time_ms = 1000 + (i * 100); in TF_LITE_MICRO_TEST() local 137 &no_results, current_time_ms, &found_command, &score, in TF_LITE_MICRO_TEST()
|
D | recognize_commands.h | 141 const int32_t current_time_ms,
|
/external/tensorflow/tensorflow/examples/speech_commands/ |
D | recognize_commands.cc | 35 const int64 current_time_ms, in ProcessLatestResults() argument 46 (current_time_ms < previous_results_.front().first)) { in ProcessLatestResults() 50 current_time_ms, " that was earlier than the previous one of ", in ProcessLatestResults() 55 previous_results_.push_back({current_time_ms, latest_results}); in ProcessLatestResults() 58 const int64 time_limit = current_time_ms - average_window_duration_ms_; in ProcessLatestResults() 67 const int64 samples_duration = current_time_ms - earliest_time; in ProcessLatestResults() 110 time_since_last_top = current_time_ms - previous_top_label_time_; in ProcessLatestResults() 116 previous_top_label_time_ = current_time_ms; in ProcessLatestResults()
|
D | recognize_commands.py | 106 def process_latest_result(self, latest_results, current_time_ms, argument 130 current_time_ms < self._previous_results[0][0]): 134 current_time_ms, self._previous_results[0][0])) 137 self._previous_results.append([current_time_ms, latest_results]) 140 time_limit = current_time_ms - self._average_window_duration_ms 147 sample_duration = current_time_ms - earliest_time 178 time_since_last_top = current_time_ms - self._previous_top_time 183 self._previous_top_time = current_time_ms
|
D | recognize_commands_test.cc | 50 int64 current_time_ms = 0 + (i * 100); in TEST() local 52 results, current_time_ms, &found_command, &score, &is_new_command)); in TEST() 69 int64 current_time_ms = 1000 + (i * 100); in TEST() local 71 results, current_time_ms, &found_command, &score, &is_new_command)); in TEST()
|
D | test_streaming_accuracy.py | 155 current_time_ms = int(audio_data_offset * 1000 / sample_rate) 157 recognize_commands.process_latest_result(outputs, current_time_ms, 165 [recognize_element.founded_command, current_time_ms]) 167 stats.calculate_accuracy_stats(all_found_words, current_time_ms, 176 current_time_ms, recognize_element.founded_command,
|
D | test_streaming_accuracy.cc | 264 const int64 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()
|
D | recognize_commands.h | 58 const int64 current_time_ms,
|
/external/webrtc/common_video/ |
D | bitrate_adjuster.cc | 77 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/autotest/client/common_lib/cros/fake_device_server/ |
D | devices.py | 75 current_time_ms = str(int(round(time.time() * 1000))) 76 resource['creationTimeMs'] = current_time_ms 77 resource['lastUpdateTimeMs'] = current_time_ms 78 resource['lastSeenTimeMs'] = current_time_ms
|
D | registration_tickets.py | 49 current_time_ms = time.time() * 1000 51 'creationTimeMs': current_time_ms, 52 'expirationTimeMs': current_time_ms + (10 * 1000)}
|
/external/webrtc/common_video/include/ |
D | bitrate_adjuster.h | 70 void UpdateBitrate(uint32_t current_time_ms)
|
/external/tensorflow/tensorflow/core/framework/ |
D | model.cc | 1740 int64 current_time_ms = EnvTime::NowMicros() / EnvTime::kMillisToMicros; in OptimizeLoop() local 1745 last_optimization_ms + optimization_period_ms_ > current_time_ms) { in OptimizeLoop() 1747 last_optimization_ms + optimization_period_ms_ - current_time_ms; in OptimizeLoop() 1750 current_time_ms = EnvTime::NowMicros() / EnvTime::kMillisToMicros; in OptimizeLoop() 1769 current_time_ms = EnvTime::NowMicros() / EnvTime::kMillisToMicros; in OptimizeLoop() 1770 last_optimization_ms = current_time_ms; in OptimizeLoop()
|
/external/webrtc/video/ |
D | video_stream_encoder.cc | 941 int64_t current_time_ms = current_time_us / rtc::kNumMicrosecsPerMillisec; in OnFrame() local 956 capture_ntp_time_ms = current_time_ms + delta_ntp_internal_ms_; in OnFrame() 980 if (current_time_ms - last_frame_log_ms_ > kFrameLogIntervalMs) { in OnFrame() 981 last_frame_log_ms_ = current_time_ms; in OnFrame()
|