Searched refs:time_ms (Results 1 – 10 of 10) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/perf_event_open/ |
D | perf_event_open02.c | 79 static void bench_work(int time_ms) in bench_work() argument 92 val.it_value.tv_sec = time_ms / 1000; in bench_work() 93 val.it_value.tv_usec = (time_ms % 1000) * 1000; in bench_work() 104 tst_res(TINFO, "bench_work estimated loops = %u in %d ms", est_loops, time_ms); in bench_work()
|
/third_party/gstreamer/gstplugins_good/gst/rtpmanager/ |
D | rtpstats.c | 110 gst_rtp_packet_rate_ctx_get_max_dropout (RTPPacketRateCtx * ctx, gint32 time_ms) in gst_rtp_packet_rate_ctx_get_max_dropout() argument 112 if (time_ms <= 0 || !ctx->probed || ctx->avg_packet_rate == -1) { in gst_rtp_packet_rate_ctx_get_max_dropout() 116 return MAX (RTP_MIN_DROPOUT, ctx->avg_packet_rate * time_ms / 1000); in gst_rtp_packet_rate_ctx_get_max_dropout() 121 gint32 time_ms) in gst_rtp_packet_rate_ctx_get_max_misorder() argument 123 if (time_ms <= 0 || !ctx->probed || ctx->avg_packet_rate == -1) { in gst_rtp_packet_rate_ctx_get_max_misorder() 127 return MAX (RTP_MIN_MISORDER, ctx->avg_packet_rate * time_ms / 1000); in gst_rtp_packet_rate_ctx_get_max_misorder()
|
D | rtpstats.h | 231 guint32 gst_rtp_packet_rate_ctx_get_max_dropout (RTPPacketRateCtx *ctx, gint32 time_ms); 232 guint32 gst_rtp_packet_rate_ctx_get_max_misorder (RTPPacketRateCtx *ctx, gint32 time_ms);
|
/third_party/grpc/test/core/util/ |
D | test_config.h | 34 gpr_timespec grpc_timeout_milliseconds_to_deadline(int64_t time_ms);
|
D | test_config.cc | 376 gpr_timespec grpc_timeout_milliseconds_to_deadline(int64_t time_ms) { in grpc_timeout_milliseconds_to_deadline() argument 380 grpc_test_slowdown_factor() * static_cast<int64_t>(1e3) * time_ms, in grpc_timeout_milliseconds_to_deadline()
|
/third_party/ffmpeg/libavfilter/ |
D | vf_subtitles.c | 184 double time_ms = picref->pts * av_q2d(inlink->time_base) * 1000; in filter_frame() local 186 time_ms, &detect_change); in filter_frame() 189 av_log(ctx, AV_LOG_DEBUG, "Change happened at time ms:%f\n", time_ms); in filter_frame()
|
/third_party/weston/clients/ |
D | simple-dmabuf-egl.c | 795 uint64_t time_ms; in render() local 798 time_ms = tv.tv_sec * 1000 + tv.tv_usec / 1000; in render() 802 offset = (time_ms % iteration_ms) / (float) iteration_ms - 0.5; in render() 837 uint64_t time_ms; in render_mandelbrot() local 841 time_ms = tv.tv_sec * 1000 + tv.tv_usec / 1000; in render_mandelbrot() 845 offset = (time_ms % iteration_ms) / (float) iteration_ms - 0.5; in render_mandelbrot()
|
D | simple-dmabuf-egl-hos.c | 739 uint64_t time_ms; in render() local 742 time_ms = tv.tv_sec * 1000 + tv.tv_usec / 1000; in render() 746 offset = (time_ms % iteration_ms) / (float) iteration_ms - 0.5; in render() 781 uint64_t time_ms; in render_mandelbrot() local 785 time_ms = tv.tv_sec * 1000 + tv.tv_usec / 1000; in render_mandelbrot() 789 offset = (time_ms % iteration_ms) / (float) iteration_ms - 0.5; in render_mandelbrot()
|
/third_party/lwip/src/apps/lwiperf/ |
D | lwiperf.c | 294 u32_t time_ms = time * 10; in lwiperf_tcp_client_send_more() local 295 if (diff_ms >= time_ms) { in lwiperf_tcp_client_send_more()
|
/third_party/ffmpeg/libavformat/ |
D | dashenc.c | 789 int64_t time_ms = time_us / 1000; in format_date() local 790 const time_t time_s = time_ms / 1000; in format_date() 791 int millisec = time_ms - (time_s * 1000); in format_date()
|