Home
last modified time | relevance | path

Searched refs:start_time (Results 1 - 25 of 254) sorted by relevance

1234567891011

/third_party/pulseaudio/src/pulsecore/
H A Dtime-smoother_2.c51 pa_usec_t start_time; member
157 s->start_time = time_stamp; in pa_smoother_2_put()
178 time_delta_system = time_stamp - s->start_time; in pa_smoother_2_put()
180 /* Number of bytes played since start_time */ in pa_smoother_2_put()
213 temp = time_stamp - time_delta_card - s->start_time; in pa_smoother_2_put()
214 s->start_time += temp; in pa_smoother_2_put()
252 s->start_pos += ((double)byte_count - s->start_pos) / (time_stamp - s->start_time) * iteration_time; in pa_smoother_2_put()
253 s->start_time += (pa_usec_t)iteration_time; in pa_smoother_2_put()
277 now = (time_stamp - s->start_time - s->time_offset) * s->time_factor; in pa_smoother_2_get_delay()
293 /* Sound card time at start_time */ in pa_smoother_2_get()
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
H A Dspinlock_test_common.cc152 int64_t start_time = time_distribution(generator); in TEST() local
154 int64_t end_time = start_time + cycles; in TEST()
155 uint32_t lock_value = SpinLockTest::EncodeWaitCycles(start_time, end_time); in TEST()
163 int64_t start_time = time_distribution(generator); in TEST() local
165 SpinLockTest::EncodeWaitCycles(start_time, start_time)); in TEST()
175 SpinLockTest::EncodeWaitCycles(start_time, start_time + sleeper_cycles); in TEST()
180 SpinLockTest::EncodeWaitCycles(start_time, start_time in TEST()
[all...]
/third_party/ltp/lib/
H A Dtst_timer.c15 static struct timespec start_time, stop_time; variable
20 if (tst_clock_gettime(clk_id, &start_time)) { in tst_timer_check()
36 if (tst_clock_gettime(clock_id, &start_time)) in tst_timer_start()
47 return tst_timespec_diff_ms(cur_time, start_time) >= ms; in tst_timer_expired_ms()
58 return tst_timespec_diff(stop_time, start_time); in tst_timer_elapsed()
/third_party/libuv/test/
H A Dtest-timer-again.c34 static uint64_t start_time; variable
51 (long int)(uv_now(uv_default_loop()) - start_time)); in repeat_1_cb()
74 (long int)(uv_now(uv_default_loop()) - start_time)); in repeat_2_cb()
98 start_time = uv_now(uv_default_loop()); in TEST_IMPL()
99 ASSERT_LT(0, start_time); in TEST_IMPL()
136 (long int)(uv_now(uv_default_loop()) - start_time)); in TEST_IMPL()
H A Dbenchmark-thread.c41 uint64_t start_time; in BENCHMARK_IMPL() local
46 start_time = uv_hrtime(); in BENCHMARK_IMPL()
56 duration = (uv_hrtime() - start_time) / 1e9; in BENCHMARK_IMPL()
H A Dbenchmark-pump.c55 static int64_t start_time; variable
103 diff = uv_now(loop) - start_time; in show_stats()
131 diff = uv_now(loop) - start_time; in read_show_stats()
149 if (uv_now(loop) - start_time > 1000 && read_sockets == 0) { in read_sockets_close_cb()
167 start_time = uv_now(loop); in start_stats_collection()
173 ASSERT_OK(start_time); in read_cb()
175 start_time = uv_now(loop); in read_cb()
H A Dbenchmark-getaddrinfo.c37 static int64_t start_time; variable
72 start_time = uv_now(loop); in BENCHMARK_IMPL()
87 (double) calls_completed / (double) (end_time - start_time) * 1000.0); in BENCHMARK_IMPL()
/third_party/ninja/src/
H A Dbuild_log.h51 bool RecordCommand(Edge* edge, int start_time, int end_time,
61 int start_time; member
70 start_time == o.start_time && end_time == o.end_time && in operator ==()
76 int start_time, int end_time, TimeStamp mtime);
H A Dbuild_log.cc119 int start_time, int end_time, TimeStamp mtime) in LogEntry()
121 start_time(start_time), end_time(end_time), mtime(mtime) in LogEntry()
144 bool BuildLog::RecordCommand(Edge* edge, int start_time, int end_time, in RecordCommand() argument
160 log_entry->start_time = start_time; in RecordCommand()
312 int start_time = 0, end_time = 0; in Load() local
315 start_time = atoi(start); in Load()
351 entry->start_time = start_time; in Load()
118 LogEntry(const string& output, uint64_t command_hash, int start_time, int end_time, TimeStamp mtime) LogEntry() argument
[all...]
/third_party/skia/third_party/externals/microhttpd/src/testcurl/
H A Dtest_post_loop.c459 static unsigned long long start_time; variable
487 start_time = now(); in main()
492 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0)); in main()
495 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0), in main()
497 start_time = now(); in main()
502 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0)); in main()
505 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0), in main()
507 start_time = now(); in main()
512 (double) 1000 * LOOPCOUNT / (now() - start_time + 1.0)); in main()
515 (double) 1000 * LOOPCOUNT / (now() - start_time in main()
[all...]
/third_party/node/deps/v8/src/d8/
H A Dd8-posix.cc83 const struct timeval& start_time) { in WaitOnFD()
90 time_t seconds = time_now.tv_sec - start_time.tv_sec; in WaitOnFD()
92 (time_now.tv_usec - start_time.tv_usec) / 1000); in WaitOnFD()
113 static bool TimeIsOut(const struct timeval& start_time, const int& total_time) { in TimeIsOut() argument
118 int seconds = static_cast<int>(time_now.tv_sec - start_time.tv_sec); in TimeIsOut()
123 int useconds = static_cast<int>(time_now.tv_usec - start_time.tv_usec); in TimeIsOut()
287 const struct timeval& start_time, in GetStdout()
305 if (!WaitOnFD(child_fd, read_timeout, total_timeout, start_time) || in GetStdout()
306 (TimeIsOut(start_time, total_timeout))) { in GetStdout()
351 const struct timeval& start_time, in in WaitForChild()
82 WaitOnFD(int fd, int read_timeout, int total_timeout, const struct timeval& start_time) WaitOnFD() argument
286 GetStdout(Isolate* isolate, int child_fd, const struct timeval& start_time, int read_timeout, int total_timeout) GetStdout() argument
349 WaitForChild(Isolate* isolate, int pid, ZombieProtector& child_waiter, const struct timeval& start_time, int read_timeout, int total_timeout) WaitForChild() argument
438 struct timeval start_time; System() local
[all...]
/third_party/ffmpeg/libavformat/
H A Doggparseskeleton.c35 int target_idx, start_time; in skeleton_header() local
68 av_reduce(&start_time, &base_den, start_num, start_den, INT_MAX); in skeleton_header()
71 st->start_time = start_time; in skeleton_header()
H A Ddemux.c292 s->duration = s->start_time = AV_NOPTS_VALUE; in avformat_open_input()
623 if (!is_relative(st->start_time)) in ff_read_packet()
624 st->start_time = wrap_timestamp(st, st->start_time); in ff_read_packet()
855 if (st->start_time == AV_NOPTS_VALUE && pktl_it->pkt.pts != AV_NOPTS_VALUE) { in update_initial_timestamps()
856 st->start_time = pktl_it->pkt.pts; in update_initial_timestamps()
858 st->start_time = av_sat_add64(st->start_time, av_rescale_q(sti->skip_samples, (AVRational){1, st->codecpar->sample_rate}, st->time_base)); in update_initial_timestamps()
865 if (st->start_time == AV_NOPTS_VALUE) { in update_initial_timestamps()
867 st->start_time in update_initial_timestamps()
1570 int64_t start_time, start_time1, start_time_text, end_time, end_time1, end_time_text; update_stream_timings() local
[all...]
/third_party/ltp/testcases/kernel/sched/sched_stress/
H A Dsched_tc0.c104 long start_time; /* time at start of testcase */ in main() local
141 start_time = time(NULL); in main()
145 while ((time(NULL) - start_time) < execution_time) { in main()
149 execution_time - (time(NULL) - start_time)); in main()
H A Dsched_driver.c162 start_time; /* time at start of driver */ in main() local
179 start_time = time(NULL); in main()
181 startup(start_time); in main()
214 while ((time(0) - start_time) < runseconds) { in main()
243 finishup(start_time); in main()
254 void startup(long start_time) in startup() argument
261 printf("start time = %s\n", ctime(&start_time)); in startup()
734 void finishup(start_time) in finishup()
735 long start_time; /* starting time to calculate elapsed time */ in finishup()
747 ((end_time - start_time) / 3600.
[all...]
H A Dsched_tc2.c107 long start_time; /* time at start of testcase */ in main() local
143 start_time = time(NULL); in main()
147 while ((time(NULL) - start_time) < execution_time) { in main()
151 execution_time - (time(NULL) - start_time)); in main()
/third_party/protobuf/src/google/protobuf/stubs/
H A Dtime_test.cc95 int64 start_time, end_time; in TEST() local
96 ASSERT_TRUE(DateTimeToSeconds(start, &start_time)); in TEST()
98 EXPECT_EQ(315537897599LL, end_time - start_time); in TEST()
99 ASSERT_TRUE(SecondsToDateTime(start_time, &time)); in TEST()
101 EXPECT_EQ(start_time, seconds); in TEST()
219 int64 start_time, end_time; in TEST() local
220 ASSERT_TRUE(DateTimeToSeconds(start, &start_time)); in TEST()
223 EXPECT_EQ("0001-01-01T00:00:00Z", FormatTime(start_time, 0)); in TEST()
/third_party/python/Tools/ccbench/
H A Dccbench.py154 def __call__(self, start_time, min_duration, end_event, do_yield=False):
162 t1 = start_time
172 duration = t2 - start_time
200 start_time = time.time()
201 results.append(loop(start_time, THROUGHPUT_DURATION,
217 results.append(loop(start_time, THROUGHPUT_DURATION,
232 start_time = time.time()
326 loop(start_time, duration * 1.5, end_event, do_yield=False)
347 start_time = _time()
409 start_time
[all...]
/third_party/ltp/testcases/kernel/syscalls/acct/
H A Dacct02.c47 static unsigned int start_time; variable
91 if (start_time > ACCT_MEMBER(ac_btime)) in verify_acct()
92 btime_diff = start_time - ACCT_MEMBER(ac_btime); in verify_acct()
94 btime_diff = ACCT_MEMBER(ac_btime) - start_time; in verify_acct()
172 start_time = time(NULL); in run()
/third_party/ffmpeg/libavfilter/
H A Dvf_fps.c72 double start_time; ///< pts, in seconds, of the expected first frame member
79 int64_t in_pts_off; ///< input frame pts offset for start_time handling
80 int64_t out_pts_off; ///< output frame pts offset for start_time handling
104 { "start_time", "Assume the first PTS should be this value.", OFFSET(start_time), AV_OPT_TYPE_DOUBLE, { .dbl = DBL_MAX}, -DBL_MAX, DBL_MAX, V|F },
196 /* Calculate the input and output pts offsets for start_time */ in config_props()
197 if (s->start_time != DBL_MAX && s->start_time != AV_NOPTS_VALUE) { in config_props()
198 double first_pts = s->start_time * AV_TIME_BASE; in config_props()
201 s->start_time); in config_props()
[all...]
H A Dvf_telecine.c41 int64_t start_time; member
93 s->start_time = AV_NOPTS_VALUE; in init()
170 if (s->start_time == AV_NOPTS_VALUE) in filter_frame()
171 s->start_time = inpicref->pts; in filter_frame()
246 frame->pts = ((s->start_time == AV_NOPTS_VALUE) ? 0 : s->start_time) + in filter_frame()
/third_party/icu/icu4c/source/test/perf/ucnvavailperf/
H A Ducnvavailperf.cpp119 UTimer start_time; in main() local
120 utimer_getTime(&start_time); in main()
123 double elapsed = utimer_getElapsedSeconds(&start_time); in main()
/third_party/python/Lib/test/libregrtest/
H A Druntest_mp.py147 self.start_time = None
163 dt = time.monotonic() - self.start_time
207 test_result.duration_sec = time.monotonic() - self.start_time
211 self.start_time = time.monotonic()
334 def wait_stopped(self, start_time: float) -> None:
350 dt = time.monotonic() - start_time
364 dt = time.monotonic() - worker.start_time
401 start_time = time.monotonic()
405 worker.wait_stopped(start_time)
/third_party/ltp/testcases/realtime/func/rt-migrate/
H A Drt-migrate.c299 static unsigned long busy_loop(unsigned long long start_time) in busy_loop() argument
307 } while ((time - start_time) < RUN_INTERVAL); in busy_loop()
317 unsigned long long start_time; in start_task() local
347 start_time = rt_gettime(); in start_task()
349 pid, start_time, start_time - now); in start_task()
350 l = busy_loop(start_time); in start_task()
351 record_time(id, start_time / NS_PER_US, l); in start_task()
/third_party/ffmpeg/fftools/
H A Dffmpeg_filter.c353 static int insert_trim(int64_t start_time, int64_t duration, in insert_trim() argument
364 if (duration == INT64_MAX && start_time == AV_NOPTS_VALUE) in insert_trim()
382 if (ret >= 0 && start_time != AV_NOPTS_VALUE) { in insert_trim()
383 ret = av_opt_set_int(ctx, "starti", start_time, in insert_trim()
509 ret = insert_trim(of->start_time, of->recording_time, in configure_output_video_filter()
617 ret = insert_trim(of->start_time, of->recording_time, in configure_output_audio_filter()
813 tsoffset = f->start_time == AV_NOPTS_VALUE ? 0 : f->start_time; in configure_input_video_filter()
814 if (!start_at_zero && f->ctx->start_time != AV_NOPTS_VALUE) in configure_input_video_filter()
815 tsoffset += f->ctx->start_time; in configure_input_video_filter()
[all...]

Completed in 31 milliseconds

1234567891011