Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/
Drecognize_commands.cc36 const TfLiteTensor* latest_results, const int32_t current_time_ms, in ProcessLatestResults() argument
57 (current_time_ms < previous_results_.front().time_)) { in ProcessLatestResults()
61 current_time_ms, previous_results_.front().time_); in ProcessLatestResults()
66 previous_results_.push_back({current_time_ms, latest_results->data.uint8}); in ProcessLatestResults()
69 const int64_t time_limit = current_time_ms - average_window_duration_ms_; in ProcessLatestResults()
79 const int64_t samples_duration = current_time_ms - earliest_time; in ProcessLatestResults()
124 time_since_last_top = current_time_ms - previous_top_label_time_; in ProcessLatestResults()
130 previous_top_label_time_ = current_time_ms; in ProcessLatestResults()
Drecognize_commands_test.cc109 int32_t current_time_ms = 0 + (i * 100); in TF_LITE_MICRO_TEST() local
112 &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()
Drecognize_commands.h138 const int32_t current_time_ms,
/external/tensorflow/tensorflow/examples/speech_commands/
Drecognize_commands.cc35 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()
Drecognize_commands_test.cc50 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()
Dtest_streaming_accuracy.cc264 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()
Drecognize_commands.h58 const int64 current_time_ms,
/external/autotest/client/common_lib/cros/fake_device_server/
Ddevices.py75 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
Dregistration_tickets.py49 current_time_ms = time.time() * 1000
51 'creationTimeMs': current_time_ms,
52 'expirationTimeMs': current_time_ms + (10 * 1000)}
/external/syzkaller/executor/
Dcommon_windows.h23 static uint64 current_time_ms() in current_time_ms() function
91 uint64 start = current_time_ms(); in event_timedwait()
95 uint64 now = current_time_ms(); in event_timedwait()
Dcommon.h145 static uint64 current_time_ms() in current_time_ms() function
297 uint64 start = current_time_ms(); in event_timedwait()
308 now = current_time_ms(); in event_timedwait()
558 uint64 start = current_time_ms();
578 uint64 now = current_time_ms();
587 if (current_time_ms() - start < 5 * 1000)
Dcommon_fuchsia.h155 uint64 start = current_time_ms(); in event_timedwait()
159 if (current_time_ms() - start > timeout_ms) in event_timedwait()
Dexecutor.cc531 uint64 start = current_time_ms(); in execute_one()
673 uint64 wait_start = current_time_ms(); in execute_one()
677 while (running > 0 && current_time_ms() <= wait_end) { in execute_one()
Dcommon_linux.h55 uint64 start = current_time_ms(); in event_timedwait()
65 now = current_time_ms(); in event_timedwait()
/external/syzkaller/pkg/csource/
Dgenerated.go130 static uint64 current_time_ms()
282 uint64 start = current_time_ms();
293 now = current_time_ms();
557 uint64 start = current_time_ms();
561 if (current_time_ms() - start > timeout_ms)
699 uint64 start = current_time_ms();
709 now = current_time_ms();
3582 static uint64 current_time_ms()
3650 uint64 start = current_time_ms();
3654 uint64 now = current_time_ms();
[all …]