Home
last modified time | relevance | path

Searched refs:stop_time (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/lib/
Dtst_timer.c15 static struct timespec start_time, stop_time; variable
52 if (tst_clock_gettime(clock_id, &stop_time)) in tst_timer_stop()
58 return tst_timespec_diff(stop_time, start_time); in tst_timer_elapsed()
Dparse_opts.c496 static uint64_t stop_time = 0; in usc_test_looping() local
512 stop_time = in usc_test_looping()
524 if (STD_LOOP_DURATION != 0.0 && get_current_time() < stop_time) in usc_test_looping()
Dtst_test.c1455 unsigned long long stop_time = 0; in testrun() local
1463 stop_time = get_time_ms() + (unsigned long long)(duration * 1000); in testrun()
1473 if (stop_time && get_time_ms() < stop_time) in testrun()
/third_party/ltp/testcases/kernel/sched/sched_stress/
Dsched_tc4.c114 clock_t stop_time; in main() local
153 stop_time = time((time_t *) & timer_info); in main()
154 elapsed_time = (float)(stop_time - start_time) / 100.0; in main()
Dsched_tc5.c111 clock_t stop_time; in main() local
151 stop_time = time((time_t *) & timer_info); in main()
152 elapsed_time = (float)(stop_time - start_time) / 100.0; in main()
Dsched_tc6.c138 clock_t stop_time; in main() local
200 stop_time = time(&timer_info); in main()
201 elapsed_time = (float)(stop_time - start_time) / 100.0; in main()
/third_party/ltp/testcases/kernel/io/ltp-aiodio/
Daio-stress.c260 struct timeval stop_time; in time_since_now() local
262 gettimeofday(&stop_time, NULL); in time_since_now()
264 return time_since(start_tv, &stop_time); in time_since_now()
484 struct timeval stop_time; in read_some_events() local
493 gettimeofday(&stop_time, NULL); in read_some_events()
498 finish_io(t, event_io, event->res, &stop_time); in read_some_events()
742 struct timeval stop_time; in run_built() local
748 gettimeofday(&stop_time, NULL); in run_built()
749 calc_latency(&start_time, &stop_time, &t->io_submit_latency); in run_built()
754 update_iou_counters(my_iocbs, ret, &stop_time); in run_built()
[all …]
/third_party/ffmpeg/fftools/
Dffmpeg_opt.c229 o->stop_time = INT64_MAX; in init_options()
1166 if (o->stop_time != INT64_MAX && o->recording_time != INT64_MAX) { in open_input_file()
1167 o->stop_time = INT64_MAX; in open_input_file()
1171 if (o->stop_time != INT64_MAX && o->recording_time == INT64_MAX) { in open_input_file()
1173 if (o->stop_time <= start_time) { in open_input_file()
1177 o->recording_time = o->stop_time - start_time; in open_input_file()
2428 if (o->stop_time != INT64_MAX && o->recording_time != INT64_MAX) { in open_output_file()
2429 o->stop_time = INT64_MAX; in open_output_file()
2433 if (o->stop_time != INT64_MAX && o->recording_time == INT64_MAX) { in open_output_file()
2435 if (o->stop_time <= start_time) { in open_output_file()
[all …]
Dffmpeg.h150 int64_t stop_time; member