Searched refs:last_latency (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/lite/tools/evaluation/stages/ |
D | image_preprocessing_stage_test.cc | 92 const auto& last_latency = in TEST() local 94 EXPECT_GT(last_latency, 0); in TEST() 95 EXPECT_LT(last_latency, 1e7); in TEST() 96 EXPECT_EQ(metrics.process_metrics().total_latency().max_us(), last_latency); in TEST() 97 EXPECT_EQ(metrics.process_metrics().total_latency().min_us(), last_latency); in TEST() 98 EXPECT_EQ(metrics.process_metrics().total_latency().sum_us(), last_latency); in TEST() 99 EXPECT_EQ(metrics.process_metrics().total_latency().avg_us(), last_latency); in TEST() 132 const auto& last_latency = in TEST() local 134 EXPECT_GT(last_latency, 0); in TEST() 135 EXPECT_LT(last_latency, 1e7); in TEST() [all …]
|
/external/adhd/cras/src/tools/cras_test_client/ |
D | cras_test_client.c | 40 static struct timespec last_latency; variable 237 cras_client_calc_capture_latency(captured_time, &last_latency); in got_samples() 278 cras_client_calc_playback_latency(playback_time, &last_latency); in put_samples() 332 if (last_latency.tv_sec > 0 || last_latency.tv_nsec > 0) in print_last_latency() 333 printf("%u.%09u\n", (unsigned)last_latency.tv_sec, in print_last_latency() 334 (unsigned)last_latency.tv_nsec); in print_last_latency() 336 printf("-%lld.%09lld\n", (long long)-last_latency.tv_sec, in print_last_latency() 337 (long long)-last_latency.tv_nsec); in print_last_latency()
|