Home
last modified time | relevance | path

Searched refs:t0 (Results 1 – 22 of 22) sorted by relevance

/oneTBB/examples/parallel_for/game_of_life/
H A DEvolution.cpp58 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 Dpover_video.cpp74 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 Dpolyover.cpp168 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 Dtachyon_video.cpp111 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 Dtick_count.h52 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 Dmain.cpp66 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 Dshortpath.cpp310 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 Dconformance_tick_count.cpp109 oneapi::tbb::tick_count::interval_t t0(my_time);
110 double interval_time = t0.seconds();
H A Dconformance_concurrent_hash_map.cpp1032 oneapi::tbb::tick_count t0 = oneapi::tbb::tick_count::now(); in TestConcurrency() local
1037 t0 = oneapi::tbb::tick_count::now(); in TestConcurrency()
H A Dconformance_concurrent_vector.cpp786 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 Dtest_join_node.h1505 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 Dtest_semaphore.cpp64 tbb::tick_count t0 = tbb::tick_count::now(); in operator ()() local
67 tottime[tid] += (t1 - t0).seconds(); in operator ()()
H A Dtest_concurrent_vector.cpp161 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 DTiming.rst25 tick_count t0 = tick_count::now();
28 printf("work took %g seconds\n",(t1-t0).seconds());
/oneTBB/examples/graph/som/
H A Dsom_graph.cpp491 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 Ddining_philosophers.cpp57 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 Dcount_strings.cpp99 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 Dsquare.cpp202 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 Dfibonacci.cpp431 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 Dfractal.cpp165 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 Dsudoku.cpp269 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 Dcholesky.cpp166 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 ()()