Home
last modified time | relevance | path

Searched refs:stop_time (Results 1 – 17 of 17) 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.c1307 unsigned long long stop_time = 0; in testrun() local
1315 stop_time = get_time_ms() + (unsigned long long)(duration * 1000); in testrun()
1325 if (stop_time && get_time_ms() < stop_time) in testrun()
/third_party/boost/libs/timer/test/
Dcpu_timer_test.cpp182 std::time_t stop_time, start_time = std::time(0); in std_c_consistency_test() local
195 stop_time = std::time(0); in std_c_consistency_test()
198 cout << " std::time() elapsed is " << (stop_time - start_time) * 1.0L << " seconds\n"; in std_c_consistency_test()
206 BOOST_TEST(t.elapsed().wall / 1000000000.0L > (stop_time - start_time) * 0.75L); in std_c_consistency_test()
207 BOOST_TEST(t.elapsed().wall / 1000000000.0L < (stop_time - start_time) * 1.25L); in std_c_consistency_test()
/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.c282 struct timeval stop_time; in time_since_now() local
283 gettimeofday(&stop_time, NULL); in time_since_now()
284 return time_since(start_tv, &stop_time); in time_since_now()
490 struct timeval stop_time; in read_some_events() local
504 gettimeofday(&stop_time, NULL); in read_some_events()
508 finish_io(t, event_io, event->res, &stop_time); in read_some_events()
759 struct timeval stop_time; local
764 gettimeofday(&stop_time, NULL);
765 calc_latency(&start_time, &stop_time, &t->io_submit_latency);
770 update_iou_counters(my_iocbs, ret, &stop_time);
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/audio/
Dgstaudiocdsrc.c778 gint64 stop_time = -1; in gst_audio_cd_src_handle_track_seek() local
815 GST_FORMAT_TIME, &stop_time)) { in gst_audio_cd_src_handle_track_seek()
824 &stop_time)) { in gst_audio_cd_src_handle_track_seek()
832 stop_time = -1; in gst_audio_cd_src_handle_track_seek()
839 GST_TIME_ARGS (start_time), GST_TIME_ARGS (stop_time)); in gst_audio_cd_src_handle_track_seek()
845 start_time, stop_type, stop_time); in gst_audio_cd_src_handle_track_seek()
1395 gint64 start_time, stop_time; in gst_audio_cd_src_make_toc() local
1409 GST_FORMAT_TIME, &stop_time); in gst_audio_cd_src_make_toc()
1412 track->num, GST_TIME_ARGS (start_time), GST_TIME_ARGS (stop_time)); in gst_audio_cd_src_make_toc()
1414 gst_toc_entry_set_start_stop_times (entry, start_time, stop_time); in gst_audio_cd_src_make_toc()
/third_party/gstreamer/gstplugins_bad/ext/musepack/
Dgstmusepackdec.c561 gint64 stop_time; in gst_musepackdec_loop() local
570 stop_time = gst_util_uint64_scale_int (musepackdec->segment.stop, in gst_musepackdec_loop()
575 GST_FORMAT_TIME, stop_time)); in gst_musepackdec_loop()
577 gst_event_new_segment_done (GST_FORMAT_TIME, stop_time)); in gst_musepackdec_loop()
/third_party/gstreamer/gstplugins_bad/gst-libs/gst/uridownloader/
Dgstfragment.c91 g_value_set_uint64 (value, fragment->stop_time - fragment->start_time); in gst_fragment_get_property()
164 fragment->stop_time = 0; in gst_fragment_init()
Dgstfragment.h56 guint64 stop_time; /* Stop time of the fragment */ member
/third_party/ffmpeg/fftools/
Dffmpeg_opt.c227 o->stop_time = INT64_MAX; in init_options()
1082 if (o->stop_time != INT64_MAX && o->recording_time != INT64_MAX) { in open_input_file()
1083 o->stop_time = INT64_MAX; in open_input_file()
1087 if (o->stop_time != INT64_MAX && o->recording_time == INT64_MAX) { in open_input_file()
1089 if (o->stop_time <= start_time) { in open_input_file()
1093 o->recording_time = o->stop_time - start_time; in open_input_file()
2166 if (o->stop_time != INT64_MAX && o->recording_time != INT64_MAX) { in open_output_file()
2167 o->stop_time = INT64_MAX; in open_output_file()
2171 if (o->stop_time != INT64_MAX && o->recording_time == INT64_MAX) { in open_output_file()
2173 if (o->stop_time <= start_time) { in open_output_file()
[all …]
Dffmpeg.h152 int64_t stop_time; member
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Dqtdemux.c210 GstClockTime stop_time; member
1068 GST_TIME_ARGS (segment->time), GST_TIME_ARGS (segment->stop_time)); in gst_qtdemux_find_segment()
1072 if (segment->time <= time_position && time_position < segment->stop_time) { in gst_qtdemux_find_segment()
2155 if (stream->segments[i].stop_time > segment->start) { in gst_qtdemux_map_and_push_segments()
3226 stream->segments[0].stop_time = duration; in check_update_duration()
5368 stream->time_position = segment->stop_time; in gst_qtdemux_advance_sample()
5423 end_time = stream->segments[stream->n_segments - 1].stop_time; in gst_qtdemux_sync_streams()
10207 segment->stop_time = stime; in qtdemux_parse_segments()
10240 GST_TIME_ARGS (segment->stop_time), segment->rate, rate_int, in qtdemux_parse_segments()
10242 if (segment->stop_time > qtdemux->segment.stop && in qtdemux_parse_segments()
[all …]
/third_party/gstreamer/gstplugins_good/gst/matroska/
Dmatroska-read-common.c1220 guint64 start_time = -1, stop_time = -1; in gst_matroska_read_common_parse_chapter_element() local
1255 ret = gst_ebml_read_uint (ebml, &id, &stop_time); in gst_matroska_read_common_parse_chapter_element()
1301 gst_toc_entry_set_start_stop_times (chapter_info, start_time, stop_time); in gst_matroska_read_common_parse_chapter_element()
/third_party/gstreamer/gstplugins_bad/
DChangeLog217651 told to do so via a stop_time != GST_CLOCK_TIME_NONE.