/third_party/grpc/src/core/lib/gpr/ |
D | time.cc | 31 GPR_ASSERT(a.clock_type == b.clock_type); in gpr_time_cmp() 50 out.clock_type = type; in gpr_time_0() 58 out.clock_type = type; in gpr_inf_future() 66 out.clock_type = type; in gpr_inf_past() 89 out.clock_type = type; in to_seconds_from_sub_second_time() 105 out.clock_type = type; in to_seconds_from_above_second_time() 110 gpr_timespec gpr_time_from_nanos(int64_t ns, gpr_clock_type clock_type) { in gpr_time_from_nanos() argument 111 return to_seconds_from_sub_second_time(ns, GPR_NS_PER_SEC, clock_type); in gpr_time_from_nanos() 114 gpr_timespec gpr_time_from_micros(int64_t us, gpr_clock_type clock_type) { in gpr_time_from_micros() argument 115 return to_seconds_from_sub_second_time(us, GPR_US_PER_SEC, clock_type); in gpr_time_from_micros() [all …]
|
D | time_posix.cc | 48 gpr_clock_type clock_type) { in gpr_from_timespec() argument 57 rv.clock_type = clock_type; in gpr_from_timespec() 67 static gpr_timespec now_impl(gpr_clock_type clock_type) { in now_impl() argument 69 GPR_ASSERT(clock_type != GPR_TIMESPAN); in now_impl() 70 if (clock_type == GPR_CLOCK_PRECISE) { in now_impl() 77 syscall(SYS_clock_gettime, clockid_for_gpr_clock[clock_type], &now); in now_impl() 79 clock_gettime(clockid_for_gpr_clock[clock_type], &now); in now_impl() 81 return gpr_from_timespec(now, clock_type); in now_impl() 108 now.clock_type = clock; in now_impl() 144 gpr_timespec (*gpr_now_impl)(gpr_clock_type clock_type) = now_impl; [all …]
|
D | time_windows.cc | 49 now_tv.clock_type = clock; in now_impl() 71 gpr_timespec (*gpr_now_impl)(gpr_clock_type clock_type) = now_impl; 73 gpr_timespec gpr_now(gpr_clock_type clock_type) { in gpr_now() argument 74 return gpr_now_impl(clock_type); in gpr_now() 85 now = gpr_now(until.clock_type); in gpr_sleep_until()
|
/third_party/gstreamer/gstplugins_bad/tests/check/elements/ |
D | clockselect.c | 30 guint clock_type; in GST_START_TEST() local 39 g_object_get (G_OBJECT (clock), "clock-type", &clock_type, NULL); in GST_START_TEST() 40 fail_unless_equals_uint64 (clock_type, GST_CLOCK_TYPE_TAI); in GST_START_TEST() 54 guint clock_type; in GST_START_TEST() local 63 g_object_get (G_OBJECT (clock), "clock-type", &clock_type, NULL); in GST_START_TEST() 64 fail_unless_equals_uint64 (clock_type, GST_CLOCK_TYPE_REALTIME); in GST_START_TEST() 78 guint clock_type; in GST_START_TEST() local 87 g_object_get (G_OBJECT (clock), "clock-type", &clock_type, NULL); in GST_START_TEST() 88 fail_unless_equals_uint64 (clock_type, GST_CLOCK_TYPE_MONOTONIC); in GST_START_TEST()
|
/third_party/alsa-lib/test/ |
D | rawmidi.c | 41 int clock_type = -1; in main() local 65 clock_type = atoi(argv[++i]); in main() 144 if (clock_type != -1) { in main() 149 clock_type = -1; in main() 151 if (clock_type != -1) { in main() 152 fprintf(stderr, "Enable kernel clock type %d\n", clock_type); in main() 157 clock_type = -1; in main() 160 if (clock_type != -1) { in main() 161 err = snd_rawmidi_params_set_clock_type(handle_in, params, clock_type); in main() 164 clock_type = -1; in main() [all …]
|
/third_party/grpc/include/grpc/support/ |
D | time.h | 54 gpr_clock_type clock_type); 69 GPRAPI gpr_timespec gpr_time_from_micros(int64_t us, gpr_clock_type clock_type); 70 GPRAPI gpr_timespec gpr_time_from_nanos(int64_t ns, gpr_clock_type clock_type); 71 GPRAPI gpr_timespec gpr_time_from_millis(int64_t ms, gpr_clock_type clock_type); 72 GPRAPI gpr_timespec gpr_time_from_seconds(int64_t s, gpr_clock_type clock_type); 73 GPRAPI gpr_timespec gpr_time_from_minutes(int64_t m, gpr_clock_type clock_type); 74 GPRAPI gpr_timespec gpr_time_from_hours(int64_t h, gpr_clock_type clock_type);
|
/third_party/boost/libs/beast/include/boost/beast/_experimental/unit_test/ |
D | reporter.hpp | 37 using clock_type = std::chrono::steady_clock; typedef in boost::beast::unit_test::detail::reporter 58 typename clock_type::time_point start = clock_type::now(); 73 typename clock_type::duration>; 85 typename clock_type::time_point start = clock_type::now(); 108 fmtdur(typename clock_type::duration const& d); 160 auto const elapsed = clock_type::now() - r.start; in add() 166 typename clock_type::duration const& t2) in add() 198 auto const elapsed = clock_type::now() - results_.start; in ~reporter() 210 reporter<_>::fmtdur(typename clock_type::duration const& d) in fmtdur()
|
/third_party/boost/boost/beast/_experimental/unit_test/ |
D | reporter.hpp | 37 using clock_type = std::chrono::steady_clock; typedef in boost::beast::unit_test::detail::reporter 58 typename clock_type::time_point start = clock_type::now(); 73 typename clock_type::duration>; 85 typename clock_type::time_point start = clock_type::now(); 108 fmtdur(typename clock_type::duration const& d); 160 auto const elapsed = clock_type::now() - r.start; in add() 166 typename clock_type::duration const& t2) in add() 198 auto const elapsed = clock_type::now() - results_.start; in ~reporter() 210 reporter<_>::fmtdur(typename clock_type::duration const& d) in fmtdur()
|
/third_party/boost/libs/beast/test/extras/include/boost/beast/test/ |
D | throughput.hpp | 22 using clock_type = typedef in boost::beast::test::timer 25 clock_type::time_point when_; 29 clock_type::duration; 32 : when_(clock_type::now()) in timer() 39 return clock_type::now() - when_; in elapsed()
|
/third_party/grpc/src/csharp/Grpc.Core/Internal/ |
D | Timespec.cs | 46 int i = (int)clock_type; in GetHashCode() 66 return this.clock_type == other.clock_type in Equals() 82 public Timespec(long tv_sec, int tv_nsec, ClockType clock_type) in Timespec() 86 this.clock_type = clock_type; in Timespec() 91 private ClockType clock_type; field 171 GrpcPreconditions.CheckState(clock_type == ClockType.Realtime); in ToDateTime()
|
/third_party/boost/libs/coroutine2/performance/ |
D | clock.hpp | 19 typedef boost::chrono::high_resolution_clock clock_type; typedef 20 typedef clock_type::duration duration_type; 21 typedef clock_type::time_point time_point_type; 27 time_point_type start( clock_type::now() ); in operator ()() 28 return ( clock_type::now() - start).count(); in operator ()()
|
/third_party/boost/libs/context/performance/ |
D | clock.hpp | 19 typedef boost::chrono::high_resolution_clock clock_type; typedef 20 typedef clock_type::duration duration_type; 21 typedef clock_type::time_point time_point_type; 27 time_point_type start( clock_type::now() ); in operator ()() 28 return ( clock_type::now() - start).count(); in operator ()()
|
/third_party/boost/libs/fiber/performance/ |
D | clock.hpp | 19 typedef std::chrono::steady_clock clock_type; typedef 20 typedef clock_type::duration duration_type; 21 typedef clock_type::time_point time_point_type; 27 time_point_type start( clock_type::now() ); in operator ()() 28 return ( clock_type::now() - start).count(); in operator ()()
|
/third_party/boost/libs/coroutine/performance/ |
D | clock.hpp | 19 typedef boost::chrono::high_resolution_clock clock_type; typedef 20 typedef clock_type::duration duration_type; 21 typedef clock_type::time_point time_point_type; 27 time_point_type start( clock_type::now() ); in operator ()() 28 return ( clock_type::now() - start).count(); in operator ()()
|
/third_party/boost/libs/beast/test/bench/utf8_checker/ |
D | bench_utf8_checker.cpp | 36 using clock_type = typedef in boost::beast::utf8_checker_test::timer 40 clock_type::time_point when_; 44 clock_type::duration; 47 : when_(clock_type::now()) in timer() 54 return clock_type::now() - when_; in elapsed() 113 typename timer::clock_type::duration
|
/third_party/boost/libs/fiber/performance/thread/ |
D | skynet_std.cpp | 16 using clock_type = std::chrono::steady_clock; typedef 17 using duration_type = clock_type::duration; 18 using time_point_type = clock_type::time_point; 45 time_point_type start{ clock_type::now() }; in main() 48 duration = clock_type::now() - start; in main()
|
D | skynet_async.cpp | 29 using clock_type = std::chrono::steady_clock; typedef 30 using duration_type = clock_type::duration; 31 using time_point_type = clock_type::time_point; 64 time_point_type start{ clock_type::now() }; in main() 66 duration = clock_type::now() - start; in main()
|
D | skynet_pthread.cpp | 21 using clock_type = std::chrono::steady_clock; typedef 22 using duration_type = clock_type::duration; 23 using time_point_type = clock_type::time_point; 77 time_point_type start{ clock_type::now() }; in main() 80 duration = clock_type::now() - start; in main()
|
/third_party/boost/libs/fiber/performance/fiber/ |
D | skynet_detach.cpp | 26 using clock_type = std::chrono::steady_clock; typedef 27 using duration_type = clock_type::duration; 28 using time_point_type = clock_type::time_point; 65 time_point_type start{ clock_type::now() }; in main() 71 auto duration = clock_type::now() - start; in main()
|
D | skynet_join.cpp | 26 using clock_type = std::chrono::steady_clock; typedef 27 using duration_type = clock_type::duration; 28 using time_point_type = clock_type::time_point; 69 time_point_type start{ clock_type::now() }; in main() 75 auto duration = clock_type::now() - start; in main()
|
D | skynet_stealing_join.cpp | 31 using clock_type = std::chrono::steady_clock; typedef 32 using duration_type = clock_type::duration; 33 using time_point_type = clock_type::time_point; 91 time_point_type start{ clock_type::now() }; in main() 97 auto duration = clock_type::now() - start; in main()
|
D | skynet_stealing_async.cpp | 31 using clock_type = std::chrono::steady_clock; typedef 32 using duration_type = clock_type::duration; 33 using time_point_type = clock_type::time_point; 93 time_point_type start{ clock_type::now() }; in main() 98 auto duration = clock_type::now() - start; in main()
|
D | skynet_stealing_detach.cpp | 31 using clock_type = std::chrono::steady_clock; typedef 32 using duration_type = clock_type::duration; 33 using time_point_type = clock_type::time_point; 87 time_point_type start{ clock_type::now() }; in main() 93 auto duration = clock_type::now() - start; in main()
|
/third_party/grpc/src/core/lib/iomgr/ |
D | exec_ctx.cc | 84 gpr_clock_type clock_type) { in grpc_millis_to_timespec() argument 88 return gpr_inf_future(clock_type); in grpc_millis_to_timespec() 91 return gpr_inf_past(clock_type); in grpc_millis_to_timespec() 94 if (clock_type == GPR_TIMESPAN) { in grpc_millis_to_timespec() 97 return gpr_time_add(gpr_convert_clock_type(g_start_time, clock_type), in grpc_millis_to_timespec() 103 gpr_convert_clock_type(ts, g_start_time.clock_type)); in grpc_timespec_to_millis_round_down() 108 gpr_convert_clock_type(ts, g_start_time.clock_type)); in grpc_timespec_to_millis_round_up()
|
/third_party/boost/libs/multiprecision/example/ |
D | mpfr_precision.cpp | 58 template <class clock_type> 62 typedef typename clock_type::duration duration_type; 64 stopwatch() : m_start(clock_type::now()) { } in stopwatch() 78 return float(std::chrono::nanoseconds((clock_type::now() - m_start)).count()) / 1e9f; in elapsed() 83 m_start = clock_type::now(); in reset() 87 typename clock_type::time_point m_start;
|