| /oneTBB/test/conformance/ |
| H A D | conformance_tick_count.cpp | 30 oneapi::tbb::tick_count t1; 38 oneapi::tbb::tick_count tick_f = oneapi::tbb::tick_count::now(); 39 oneapi::tbb::tick_count tick_s(tick_f); 46 oneapi::tbb::tick_count tick_f(oneapi::tbb::tick_count::now()); 47 oneapi::tbb::tick_count tick_s(oneapi::tbb::tick_count::now()); 49 tick_s = oneapi::tbb::tick_count::now(); 58 oneapi::tbb::tick_count start = oneapi::tbb::tick_count::now(); in WaitForDuration() 75 oneapi::tbb::tick_count t1 = oneapi::tbb::tick_count::now(); 77 oneapi::tbb::tick_count t2 = oneapi::tbb::tick_count::now(); 79 oneapi::tbb::tick_count t3 = oneapi::tbb::tick_count::now(); [all …]
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | Timing.rst | 14 The class ``tick_count`` in |full_name| 16 ``tick_count`` value obtained from the static method tick_count::now() 17 represents the current absolute time. Subtracting two ``tick_count`` 18 values yields a relative time in ``tick_count::interval_t``, which you 25 tick_count t0 = tick_count::now(); 27 tick_count t1 = tick_count::now(); 33 Unlike some timing interfaces, ``tick_count`` is guaranteed to be safe 34 to use across threads. It is valid to subtract ``tick_count`` values 35 that were created by different threads. A ``tick_count`` difference can 39 The resolution of ``tick_count`` corresponds to the highest resolution [all …]
|
| /oneTBB/examples/parallel_for/game_of_life/ |
| H A D | Evolution.cpp | 58 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in Run() 61 oneapi::tbb::tick_count t = oneapi::tbb::tick_count::now(); in Run() 63 oneapi::tbb::tick_count t1 = oneapi::tbb::tick_count::now(); in Run() 70 t0 = oneapi::tbb::tick_count::now(); in Run() 108 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in Run() 112 oneapi::tbb::tick_count t = oneapi::tbb::tick_count::now(); in Run() 114 oneapi::tbb::tick_count t1 = oneapi::tbb::tick_count::now(); in Run() 120 t0 = oneapi::tbb::tick_count::now(); in Run()
|
| /oneTBB/test/tbb/ |
| H A D | test_tick_count.cpp | 32 CHECK_EQ(tbb::tick_count::clock_type::is_steady, true); 39 tbb::tick_count tick_f = tbb::tick_count::now(); 40 tbb::tick_count tick_s(tick_f); 51 tbb::tick_count start_time; 54 thread_barrier.wait([&start_time] { start_time = tbb::tick_count::now(); }); in __anon7e030fbd0102() 56 tbb::tick_count end_time(tbb::tick_count::now()); in __anon7e030fbd0102() 58 end_time = tbb::tick_count::now(); in __anon7e030fbd0102()
|
| H A D | test_semaphore.cpp | 64 tbb::tick_count t0 = tbb::tick_count::now(); in operator ()() 66 tbb::tick_count t1 = tbb::tick_count::now(); in operator ()()
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | tick_count.h | 31 class tick_count { 52 friend interval_t operator-( const tick_count& t1, const tick_count& t0 ); 68 tick_count() = default; 71 static tick_count now() { in now() 76 friend interval_t operator-( const tick_count& t1, const tick_count& t0 ) { 77 return tick_count::interval_t(t1.my_time_point - t0.my_time_point); 87 tick_count( clock_type::time_point tp ) : my_time_point(tp) {} in tick_count() function 94 using detail::d1::tick_count;
|
| /oneTBB/examples/parallel_reduce/pi/ |
| H A D | main.cpp | 51 tbb::tick_count main_start_time = tbb::tick_count::now(); in main() 69 tbb::tick_count compute_start_time = tbb::tick_count::now(); in main() 71 compute_time = (tbb::tick_count::now() - compute_start_time).seconds(); in main() 76 tbb::tick_count compute_start_time = tbb::tick_count::now(); in main() 78 compute_time = (tbb::tick_count::now() - compute_start_time).seconds(); in main() 93 utility::report_elapsed_time((tbb::tick_count::now() - main_start_time).seconds()); in main()
|
| /oneTBB/examples/parallel_for_each/parallel_preorder/ |
| H A D | main.cpp | 61 oneapi::tbb::tick_count main_start = oneapi::tbb::tick_count::now(); in main() 66 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in main() 80 oneapi::tbb::tick_count::interval_t interval = oneapi::tbb::tick_count::now() - t0; in main() 86 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - main_start).seconds()); in main()
|
| /oneTBB/examples/parallel_reduce/primes/ |
| H A D | main.cpp | 86 oneapi::tbb::tick_count mainBeginMark = oneapi::tbb::tick_count::now(); in main() 92 oneapi::tbb::tick_count iterationBeginMark = oneapi::tbb::tick_count::now(); in main() 102 oneapi::tbb::tick_count iterationEndMark = oneapi::tbb::tick_count::now(); in main() 114 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - mainBeginMark).seconds()); in main()
|
| /oneTBB/examples/getting_started/sub_string_finder/ |
| H A D | sub_string_finder_extended.cpp | 100 oneapi::tbb::tick_count serial_t0 = oneapi::tbb::tick_count::now(); in main() 102 oneapi::tbb::tick_count serial_t1 = oneapi::tbb::tick_count::now(); in main() 106 oneapi::tbb::tick_count parallel_t0 = oneapi::tbb::tick_count::now(); in main() 109 oneapi::tbb::tick_count parallel_t1 = oneapi::tbb::tick_count::now(); in main()
|
| /oneTBB/examples/parallel_for/seismic/ |
| H A D | main.cpp | 74 oneapi::tbb::tick_count mainStartTime = oneapi::tbb::tick_count::now(); in main() 96 oneapi::tbb::tick_count xwayParallelismStartTime = oneapi::tbb::tick_count::now(); in main() 117 ((oneapi::tbb::tick_count::now() - xwayParallelismStartTime).seconds()); in main() 131 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - mainStartTime).seconds()); in main()
|
| /oneTBB/test/common/ |
| H A D | cpu_usertime.h | 83 tbb::tick_count stamp = tbb::tick_count::now(); 87 if ( (waittime_delta = (tbb::tick_count::now()-stamp).seconds()) > maximal_waittime ) { 96 stamp = tbb::tick_count::now(); 97 while ( ((waittime_delta=(tbb::tick_count::now()-stamp).seconds()) < minimal_waittime)
|
| /oneTBB/examples/concurrent_hash_map/count_strings/ |
| H A D | count_strings.cpp | 99 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in CountOccurrences() 102 oneapi::tbb::tick_count t1 = oneapi::tbb::tick_count::now(); in CountOccurrences() 241 oneapi::tbb::tick_count mainStartTime = oneapi::tbb::tick_count::now(); in main() 292 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - mainStartTime).seconds()); in main()
|
| /oneTBB/examples/parallel_pipeline/square/ |
| H A D | square.cpp | 202 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in run_pipeline() 215 oneapi::tbb::tick_count t1 = oneapi::tbb::tick_count::now(); in run_pipeline() 227 oneapi::tbb::tick_count mainStartTime = oneapi::tbb::tick_count::now(); in main() 274 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - mainStartTime).seconds()); in main()
|
| /oneTBB/examples/task_arena/fractal/ |
| H A D | main.cpp | 36 oneapi::tbb::tick_count mainStartTime = oneapi::tbb::tick_count::now(); in main() 84 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - mainStartTime).seconds()); in main()
|
| H A D | fractal.cpp | 165 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in calc_fractal() 171 oneapi::tbb::tick_count t1 = oneapi::tbb::tick_count::now(); in calc_fractal()
|
| /oneTBB/examples/task_group/sudoku/ |
| H A D | sudoku.cpp | 269 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in solve() 272 solve_time = (oneapi::tbb::tick_count::now() - t0).seconds(); in solve() 277 oneapi::tbb::tick_count mainStartTime = oneapi::tbb::tick_count::now(); in main() 319 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - mainStartTime).seconds()); in main()
|
| /oneTBB/examples/graph/dining_philosophers/ |
| H A D | dining_philosophers.cpp | 57 oneapi::tbb::tick_count t0; 245 oneapi::tbb::tick_count main_time = oneapi::tbb::tick_count::now(); in main() 266 t0 = oneapi::tbb::tick_count::now(); in main() 316 oneapi::tbb::tick_count t1 = oneapi::tbb::tick_count::now(); in main() 333 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - main_time).seconds()); in main()
|
| /oneTBB/examples/parallel_for/polygon_overlay/ |
| H A D | polyover.cpp | 168 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in NaiveParallelOverlay() 172 oneapi::tbb::tick_count t1 = oneapi::tbb::tick_count::now(); in NaiveParallelOverlay() 407 oneapi::tbb::tick_count t0, t1; in SplitParallelOverlay() 437 t0 = oneapi::tbb::tick_count::now(); in SplitParallelOverlay() 441 t1 = oneapi::tbb::tick_count::now(); in SplitParallelOverlay() 536 oneapi::tbb::tick_count t0, t1; in SplitParallelOverlayCV() 564 t0 = oneapi::tbb::tick_count::now(); in SplitParallelOverlayCV() 568 t1 = oneapi::tbb::tick_count::now(); in SplitParallelOverlayCV() 671 oneapi::tbb::tick_count t0, t1; in SplitParallelOverlayETS() 700 t0 = oneapi::tbb::tick_count::now(); in SplitParallelOverlayETS() [all …]
|
| H A D | pover_video.cpp | 74 oneapi::tbb::tick_count t0, t1; in on_process() 103 t0 = oneapi::tbb::tick_count::now(); in on_process() 105 t1 = oneapi::tbb::tick_count::now(); in on_process()
|
| /oneTBB/examples/graph/som/ |
| H A D | som_graph.cpp | 491 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in main() 493 oneapi::tbb::tick_count t1 = oneapi::tbb::tick_count::now(); in main() 564 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in main() 566 oneapi::tbb::tick_count t1 = oneapi::tbb::tick_count::now(); in main()
|
| /oneTBB/examples/parallel_reduce/convex_hull/ |
| H A D | convex_hull.hpp | 163 typedef oneapi::tbb::tick_count my_time_t; 166 return oneapi::tbb::tick_count::now(); in gettime()
|
| /oneTBB/examples/graph/binpack/ |
| H A D | binpack.cpp | 299 oneapi::tbb::tick_count start = oneapi::tbb::tick_count::now(); in main() 335 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - start).seconds()); in main()
|
| /oneTBB/examples/graph/fgbzip2/ |
| H A D | fgbzip2.cpp | 287 oneapi::tbb::tick_count mainStartTime = oneapi::tbb::tick_count::now(); in main() 363 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - mainStartTime).seconds()); in main()
|
| /oneTBB/examples/concurrent_priority_queue/shortpath/ |
| H A D | shortpath.cpp | 310 oneapi::tbb::tick_count t0, t1; in main() 315 t0 = oneapi::tbb::tick_count::now(); in main() 317 t1 = oneapi::tbb::tick_count::now(); in main()
|