| /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() local 65 double work_time = (t1 - t0).seconds(); in Run() 70 t0 = oneapi::tbb::tick_count::now(); in Run() 108 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in Run() local 116 double real_work_time = (t1 - t0).seconds(); in Run() 120 t0 = oneapi::tbb::tick_count::now(); in Run()
|
| /oneTBB/examples/parallel_for/polygon_overlay/ |
| H A D | pover_video.cpp | 74 oneapi::tbb::tick_count t0, t1; in on_process() local 103 t0 = oneapi::tbb::tick_count::now(); in on_process() 106 std::cout << "Serial overlay took " << (t1 - t0).seconds() * 1000 << " msec" in on_process() 108 gSerialTime = (t1 - t0).seconds() * 1000; in on_process()
|
| H A D | polyover.cpp | 168 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in NaiveParallelOverlay() local 174 double naiveParallelTime = (t1 - t0).seconds() * 1000; in NaiveParallelOverlay() 407 oneapi::tbb::tick_count t0, t1; in SplitParallelOverlay() local 437 t0 = oneapi::tbb::tick_count::now(); in SplitParallelOverlay() 442 domainSplitParallelTime = (t1 - t0).seconds() * 1000; in SplitParallelOverlay() 536 oneapi::tbb::tick_count t0, t1; in SplitParallelOverlayCV() local 564 t0 = oneapi::tbb::tick_count::now(); in SplitParallelOverlayCV() 569 domainSplitParallelTime = (t1 - t0).seconds() * 1000; in SplitParallelOverlayCV() 671 oneapi::tbb::tick_count t0, t1; in SplitParallelOverlayETS() local 700 t0 = oneapi::tbb::tick_count::now(); in SplitParallelOverlayETS() [all …]
|
| /oneTBB/examples/parallel_for/tachyon/src/ |
| H A D | tachyon_video.cpp | 111 timer t0, t1; in rt_finalize() local 112 t0 = gettimer(); in rt_finalize() 117 } while ((timertime(t0, t1) < 10 || video->pausing) && video->next_frame()); in rt_finalize()
|
| /oneTBB/include/oneapi/tbb/ |
| H A D | tick_count.h | 52 friend interval_t operator-( const tick_count& t1, const tick_count& t0 ); 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);
|
| /oneTBB/examples/parallel_for_each/parallel_preorder/ |
| H A D | main.cpp | 66 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in main() local 80 oneapi::tbb::tick_count::interval_t interval = oneapi::tbb::tick_count::now() - t0; in main()
|
| /oneTBB/examples/concurrent_priority_queue/shortpath/ |
| H A D | shortpath.cpp | 310 oneapi::tbb::tick_count t0, t1; in main() local 315 t0 = oneapi::tbb::tick_count::now(); in main() 322 (t1 - t0).seconds(), in main() 330 (t1 - t0).seconds(), in main() 336 utility::report_elapsed_time((t1 - t0).seconds()); in main()
|
| /oneTBB/test/conformance/ |
| H A D | conformance_tick_count.cpp | 109 oneapi::tbb::tick_count::interval_t t0(my_time); 110 double interval_time = t0.seconds();
|
| H A D | conformance_concurrent_hash_map.cpp | 1032 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in TestConcurrency() local 1037 t0 = oneapi::tbb::tick_count::now(); in TestConcurrency()
|
| H A D | conformance_concurrent_vector.cpp | 786 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in TestParallelFor() local 793 INFO("Time for parallel_for: assign time = " << (t1 - t0).seconds() << in TestParallelFor()
|
| /oneTBB/test/tbb/ |
| H A D | test_join_node.h | 1505 OQType t0; 1507 … CHECK_MESSAGE( (oq0.try_get(t0)&&std::get<0>(t0)==3&&std::get<1>(t0)==2), "Error in oq0 output"); 1580 OQType t0; 1582 … CHECK_MESSAGE( (oq0.try_get(t0)&&std::get<0>(t0)==1&&std::get<1>(t0)==2), "Error in oq0 output"); 1676 CheckTupleType t0; 1678 …CHECK_MESSAGE( (checkTupleQueue0.try_get(t0)&&std::get<0>(t0)==loop&&(int)std::get<1>(t0)==loop), … 1680 … CHECK_MESSAGE( (!checkTupleQueue0.try_get(t0)), "extra object in output queue checkTupleQueue0"); 1681 … CHECK_MESSAGE( (!checkTupleQueue1.try_get(t0)), "extra object in output queue checkTupleQueue1"); 1721 CheckTupleType t0; 1723 …CHECK_MESSAGE( (checkTupleQueue0.try_get(t0)&&std::get<0>(t0)==lp1 && std::get<1>(t0)==lp1), "Erro… [all …]
|
| H A D | test_semaphore.cpp | 64 tbb::tick_count t0 = tbb::tick_count::now(); in operator ()() local 67 tottime[tid] += (t1 - t0).seconds(); in operator ()()
|
| H A D | test_concurrent_vector.cpp | 161 tbb::tick_count t0 = tbb::tick_count::now(); in TimeFindPrimes() local 165 return (t1-t0).seconds(); in TimeFindPrimes()
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | Timing.rst | 25 tick_count t0 = tick_count::now(); 28 printf("work took %g seconds\n",(t1-t0).seconds());
|
| /oneTBB/examples/graph/som/ |
| H A D | som_graph.cpp | 491 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in main() local 494 double nSeconds = (t1 - t0).seconds(); in main() 564 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in main() local 572 (t1 - t0).seconds()); in main() 574 single_time = (t1 - t0).seconds(); in main() 576 printf(": speedup == %g\n", single_time / (t1 - t0).seconds()); in main()
|
| /oneTBB/examples/graph/dining_philosophers/ |
| H A D | dining_philosophers.cpp | 57 oneapi::tbb::tick_count t0; variable 266 t0 = oneapi::tbb::tick_count::now(); in main() 320 << " threads have taken " << (t1 - t0).seconds() << "seconds" in main()
|
| /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() local 124 "total = %d unique = %u time = %g\n", n, unsigned(table.size()), (t1 - t0).seconds()); in CountOccurrences()
|
| /oneTBB/examples/parallel_pipeline/square/ |
| H A D | square.cpp | 202 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in run_pipeline() local 221 printf("time = %g\n", (t1 - t0).seconds()); in run_pipeline()
|
| /oneTBB/examples/test_all/fibonacci/ |
| H A D | fibonacci.cpp | 431 static oneapi::tbb::tick_count t0; variable 442 t0 = oneapi::tbb::tick_count::now(); in Measure() 446 printf("\t- in %f msec\n", (oneapi::tbb::tick_count::now() - t0).seconds() * 1000); in Measure()
|
| /oneTBB/examples/task_arena/fractal/ |
| H A D | fractal.cpp | 165 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in calc_fractal() local 174 printf(" %s fractal finished. Time: %g\n", num ? "Second" : "First", (t1 - t0).seconds()); 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() local 272 solve_time = (oneapi::tbb::tick_count::now() - t0).seconds(); in solve()
|
| /oneTBB/examples/graph/cholesky/ |
| H A D | cholesky.cpp | 166 oneapi::tbb::tick_count t0, t1; in operator ()() local 174 t0 = oneapi::tbb::tick_count::now(); in operator ()() 182 t0 = oneapi::tbb::tick_count::now(); in operator ()() 188 elapsed_time += (t1 - t0).seconds(); in operator ()()
|