/third_party/boost/libs/chrono/example/ |
D | test_clock.cpp | 112 high_resolution_clock::duration delay = milliseconds(5); in test_hi_resolution_clock() 113 high_resolution_clock::time_point start = high_resolution_clock::now(); in test_hi_resolution_clock() 114 while (high_resolution_clock::now() - start <= delay) in test_hi_resolution_clock() 116 high_resolution_clock::time_point stop = high_resolution_clock::now(); in test_hi_resolution_clock() 117 high_resolution_clock::duration elapsed = stop - start; in test_hi_resolution_clock() 119 start = high_resolution_clock::now(); in test_hi_resolution_clock() 120 stop = high_resolution_clock::now(); in test_hi_resolution_clock() 168 test_clock<high_resolution_clock>(); in main()
|
D | test_clock2.cpp | 148 high_resolution_clock::duration delay = milliseconds(5); in test_hi_resolution_clock() 149 high_resolution_clock::time_point start = high_resolution_clock::now(); in test_hi_resolution_clock() 150 while (high_resolution_clock::now() - start <= delay) in test_hi_resolution_clock() 152 high_resolution_clock::time_point stop = high_resolution_clock::now(); in test_hi_resolution_clock() 153 high_resolution_clock::duration elapsed = stop - start; in test_hi_resolution_clock() 155 start = high_resolution_clock::now(); in test_hi_resolution_clock() 156 stop = high_resolution_clock::now(); in test_hi_resolution_clock() 204 test_clock<high_resolution_clock>(); in main()
|
D | io_ex3.cpp | 25 high_resolution_clock::time_point t0 = high_resolution_clock::now(); in main() 31 high_resolution_clock::time_point t1; in main() 37 high_resolution_clock::time_point t = high_resolution_clock::now(); in main()
|
D | await_keystroke.cpp | 39 timer<high_resolution_clock> t3; in main() 62 high_resolution_clock::time_point d8 = high_resolution_clock::now(); in main() 63 high_resolution_clock::time_point d9 = high_resolution_clock::now(); in main()
|
D | timer.hpp | 26 template <class Clock=boost::chrono::high_resolution_clock> 57 typedef chrono::timer< boost::chrono::high_resolution_clock > high_resolution_timer;
|
D | io_ex1.cpp | 70 << "high_resolution_clock::now() = " << high_resolution_clock::now() << '\n'; in main() 73 << "high_resolution_clock::now() = " << high_resolution_clock::now() << '\n'; in main()
|
D | time2_demo_output.txt | 134 high_resolution_clock test 136 high_resolution_clock resolution estimate: 96 nanoseconds 138 Add 5 milliseconds to a high_resolution_clock::time_point 140 subtract high_resolution_clock::time_point from monotonic_clock::time_point and add that to a syste…
|
/third_party/boost/libs/math/reporting/performance/ |
D | test_polynomial.cpp | 36 stopwatch<boost::chrono::high_resolution_clock> w; in test_add() 46 stopwatch<boost::chrono::high_resolution_clock> w; in test_subtract() 56 stopwatch<boost::chrono::high_resolution_clock> w; in test_add_int() 66 stopwatch<boost::chrono::high_resolution_clock> w; in test_subtract_int() 76 stopwatch<boost::chrono::high_resolution_clock> w; in test_multiply() 86 stopwatch<boost::chrono::high_resolution_clock> w; in test_multiply_int() 96 stopwatch<boost::chrono::high_resolution_clock> w; in test_divide() 106 stopwatch<boost::chrono::high_resolution_clock> w; in test_divide_int() 117 stopwatch<boost::chrono::high_resolution_clock> w; in test_gcd() 128 stopwatch<boost::chrono::high_resolution_clock> w; in test_inplace_add() [all …]
|
/third_party/boost/libs/multiprecision/performance/ |
D | performance_test.hpp | 86 stopwatch<boost::chrono::high_resolution_clock> w; in test_add() 96 stopwatch<boost::chrono::high_resolution_clock> w; in test_subtract() 106 stopwatch<boost::chrono::high_resolution_clock> w; in test_add_int() 116 stopwatch<boost::chrono::high_resolution_clock> w; in test_subtract_int() 126 stopwatch<boost::chrono::high_resolution_clock> w; in test_multiply() 136 stopwatch<boost::chrono::high_resolution_clock> w; in test_multiply_int() 146 stopwatch<boost::chrono::high_resolution_clock> w; in test_divide() 156 stopwatch<boost::chrono::high_resolution_clock> w; in test_divide_int() 166 stopwatch<boost::chrono::high_resolution_clock> w; in test_str() 173 stopwatch<boost::chrono::high_resolution_clock> w; in test_str() [all …]
|
/third_party/boost/libs/thread/example/ |
D | perf_shared_mutex.cpp | 45 …boost::chrono::high_resolution_clock::duration best_time(std::numeric_limits<boost::chrono::high_r… in main() 47 boost::chrono::high_resolution_clock clock; in main() 48 boost::chrono::high_resolution_clock::time_point s1 = clock.now(); in main() 62 boost::chrono::high_resolution_clock::time_point f1 = clock.now(); in main()
|
/third_party/grpc/src/cpp/util/ |
D | time_cc.cc | 24 using std::chrono::high_resolution_clock; 47 void TimepointHR2Timespec(const high_resolution_clock::time_point& from, in TimepointHR2Timespec() 49 high_resolution_clock::duration deadline = from.time_since_epoch(); in TimepointHR2Timespec() 51 if (from == high_resolution_clock::time_point::max() || in TimepointHR2Timespec()
|
/third_party/benchmark/src/ |
D | timers.h | 19 template <bool HighResIsSteady = std::chrono::high_resolution_clock::is_steady> 21 typedef std::chrono::high_resolution_clock type; 34 typedef std::chrono::high_resolution_clock type;
|
/third_party/json/benchmarks/thirdparty/benchmark/src/ |
D | timers.h | 19 template <bool HighResIsSteady = std::chrono::high_resolution_clock::is_steady> 21 typedef std::chrono::high_resolution_clock type; 34 typedef std::chrono::high_resolution_clock type;
|
/third_party/boost/libs/chrono/test/clock/ |
D | clock_pass.cpp | 109 check_clock_invariants<boost::chrono::high_resolution_clock>(); in main() 110 check_clock_now<boost::chrono::high_resolution_clock>(); in main() 166 check_clock_now_ec<boost::chrono::high_resolution_clock>(); in main() 167 check_clock_now_throws<boost::chrono::high_resolution_clock>(); in main()
|
/third_party/boost/libs/asio/include/boost/asio/detail/ |
D | chrono.hpp | 47 using std::chrono::high_resolution_clock; 61 using boost::chrono::high_resolution_clock;
|
/third_party/boost/boost/asio/detail/ |
D | chrono.hpp | 47 using std::chrono::high_resolution_clock; 61 using boost::chrono::high_resolution_clock;
|
/third_party/boost/libs/poly_collection/example/ |
D | perf.cpp | 17 std::chrono::high_resolution_clock::time_point measure_start,measure_pause; 31 high_resolution_clock::time_point t2; in measure() 33 measure_start=high_resolution_clock::now(); in measure() 37 t2=high_resolution_clock::now(); in measure() 57 measure_pause=std::chrono::high_resolution_clock::now(); in pause_timing() 62 measure_start+=std::chrono::high_resolution_clock::now()-measure_pause; in resume_timing()
|
/third_party/mindspore/mindspore/lite/examples/unified_api/src/ |
D | net_runner.cc | 88 start_time_ = std::chrono::high_resolution_clock::now(); in EpochBegin() 91 end_time_ = std::chrono::high_resolution_clock::now(); in EpochEnd() 106 std::chrono::time_point<std::chrono::high_resolution_clock> start_time_; 107 std::chrono::time_point<std::chrono::high_resolution_clock> end_time_;
|
/third_party/mindspore/mindspore/lite/test/ut/src/dataset/ |
D | eager_test.cc | 54 auto t_start = std::chrono::high_resolution_clock::now(); in TEST_F() 75 auto t_end = std::chrono::high_resolution_clock::now(); in TEST_F()
|
/third_party/boost/boost/chrono/ |
D | system_clocks.hpp | 105 typedef steady_clock high_resolution_clock; // as permitted by [time.clock.hires] typedef 107 typedef system_clock high_resolution_clock; // as permitted by [time.clock.hires] typedef
|
/third_party/mindspore/mindspore/lite/examples/train_lenet/src/ |
D | net_runner.cc | 86 start_time_ = std::chrono::high_resolution_clock::now(); in EpochBegin() 89 end_time_ = std::chrono::high_resolution_clock::now(); in EpochEnd() 104 std::chrono::time_point<std::chrono::high_resolution_clock> start_time_; 105 std::chrono::time_point<std::chrono::high_resolution_clock> end_time_;
|
/third_party/boost/libs/variant2/benchmark/ |
D | benchmark2.cpp | 96 auto tp1 = std::chrono::high_resolution_clock::now(); in test_() 121 auto tp2 = std::chrono::high_resolution_clock::now(); in test_()
|
/third_party/boost/libs/chrono/perf/ |
D | store_now_in_vector.cpp | 24 typedef boost::chrono::timer<boost::chrono::high_resolution_clock> Stopwatch; 130 test<boost::chrono::high_resolution_clock>(); in main()
|
/third_party/boost/libs/asio/include/boost/asio/ |
D | high_resolution_timer.hpp | 38 chrono::high_resolution_clock>
|
/third_party/boost/boost/asio/ |
D | high_resolution_timer.hpp | 38 chrono::high_resolution_clock>
|