| /oneTBB/test/conformance/ |
| H A D | conformance_tick_count.cpp | 40 CHECK_EQ((tick_f - tick_s).seconds(), 0); 48 while ((tick_s - tick_f).seconds() == 0) { 51 CHECK_GT((tick_s - tick_f).seconds(), 0); 61 sec = (oneapi::tbb::tick_count::now() - start).seconds(); in WaitForDuration() 87 CheckNear((i + j).seconds(), k.seconds()); 88 CheckNear((k - j).seconds(), i.seconds()); 89 CheckNear(((k - j) + (j - i)).seconds(), k.seconds() - i.seconds()); 93 CheckNear(sum.seconds(), k.seconds()); 95 CheckNear(sum.seconds(), j.seconds()); 97 CheckNear(sum.seconds(), 0.0); [all …]
|
| /oneTBB/doc/main/tbb_userguide/ |
| H A D | Timing.rst | 19 can convert to seconds, as in the following example: 28 printf("work took %g seconds\n",(t1-t0).seconds()); 36 be converted to seconds.
|
| /oneTBB/examples/parallel_reduce/pi/ |
| H A D | main.cpp | 71 compute_time = (tbb::tick_count::now() - compute_start_time).seconds(); 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/getting_started/sub_string_finder/ |
| H A D | sub_string_finder_extended.cpp | 123 std::cout << "Serial version ran in " << (serial_t1 - serial_t0).seconds() << " seconds" in main() 125 << "Parallel version ran in " << (parallel_t1 - parallel_t0).seconds() << " seconds" in main() 128 << (serial_t1 - serial_t0).seconds() / (parallel_t1 - parallel_t0).seconds() << "\n"; in main()
|
| /oneTBB/test/tbb/ |
| H A D | test_tick_count.cpp | 57 while ((end_time - start_time).seconds() == 0) { in __anon7e030fbd0102() 61 CHECK_GT((end_time - start_time).seconds(), 0); in __anon7e030fbd0102()
|
| H A D | test_semaphore.cpp | 67 tottime[tid] += (t1 - t0).seconds(); in operator ()()
|
| /oneTBB/examples/parallel_for_each/parallel_preorder/ |
| H A D | main.cpp | 82 std::cout << interval.seconds() << " seconds using " << p << " threads (" in main() 86 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - main_start).seconds()); in main()
|
| /oneTBB/test/common/ |
| H A D | cpu_usertime.h | 87 if ( (waittime_delta = (tbb::tick_count::now()-stamp).seconds()) > maximal_waittime ) { 97 while ( ((waittime_delta=(tbb::tick_count::now()-stamp).seconds()) < minimal_waittime)
|
| /oneTBB/examples/parallel_reduce/primes/ |
| H A D | main.cpp | 105 << (iterationEndMark - iterationBeginMark).seconds() << " sec with "; in main() 114 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - mainBeginMark).seconds()); in main()
|
| /oneTBB/examples/parallel_for/seismic/ |
| H A D | main.cpp | 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/examples/parallel_for/polygon_overlay/ |
| H A D | pover_video.cpp | 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 | 174 double naiveParallelTime = (t1 - t0).seconds() * 1000; in NaiveParallelOverlay() 442 domainSplitParallelTime = (t1 - t0).seconds() * 1000; in SplitParallelOverlay() 569 domainSplitParallelTime = (t1 - t0).seconds() * 1000; in SplitParallelOverlayCV() 705 domainSplitParallelTime = (t1 - t0).seconds() * 1000; in SplitParallelOverlayETS()
|
| /oneTBB/examples/parallel_for/game_of_life/ |
| H A D | Evolution.cpp | 65 double work_time = (t1 - t0).seconds(); in Run() 116 double real_work_time = (t1 - t0).seconds(); in Run()
|
| /oneTBB/examples/graph/dining_philosophers/ |
| H A D | dining_philosophers.cpp | 53 const std::chrono::seconds think_time(1); 54 const std::chrono::seconds eat_time(1); 320 << " threads have taken " << (t1 - t0).seconds() << "seconds" in main() 333 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - main_time).seconds()); in main()
|
| /oneTBB/examples/concurrent_priority_queue/shortpath/ |
| H A D | shortpath.cpp | 322 (t1 - t0).seconds(), in main() 330 (t1 - t0).seconds(), in main() 336 utility::report_elapsed_time((t1 - t0).seconds()); in main()
|
| /oneTBB/examples/concurrent_hash_map/count_strings/ |
| H A D | count_strings.cpp | 124 "total = %d unique = %u time = %g\n", n, unsigned(table.size()), (t1 - t0).seconds()); in CountOccurrences() 292 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - mainStartTime).seconds()); in main()
|
| /oneTBB/examples/parallel_pipeline/square/ |
| H A D | square.cpp | 221 printf("time = %g\n", (t1 - t0).seconds()); in run_pipeline() 274 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - mainStartTime).seconds()); in main()
|
| /oneTBB/examples/task_arena/fractal/ |
| H A D | main.cpp | 84 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - mainStartTime).seconds()); in main()
|
| H A D | fractal.cpp | 174 printf(" %s fractal finished. Time: %g\n", num ? "Second" : "First", (t1 - t0).seconds()); in calc_fractal()
|
| /oneTBB/examples/graph/som/ |
| H A D | som_graph.cpp | 494 double nSeconds = (t1 - t0).seconds(); in main() 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/include/oneapi/tbb/ |
| H A D | tick_count.h | 47 double seconds() const { in seconds() function
|
| /oneTBB/examples/task_group/sudoku/ |
| H A D | sudoku.cpp | 272 solve_time = (oneapi::tbb::tick_count::now() - t0).seconds(); in solve() 319 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - mainStartTime).seconds()); in main()
|
| /oneTBB/examples/parallel_reduce/convex_hull/ |
| H A D | convex_hull.hpp | 170 return (end - start).seconds(); in time_diff()
|
| /oneTBB/examples/common/utility/ |
| H A D | utility.hpp | 540 inline void report_elapsed_time(double seconds) { in report_elapsed_time() argument 541 std::cout << "elapsed time : " << seconds << " seconds" in report_elapsed_time()
|
| /oneTBB/examples/graph/binpack/ |
| H A D | binpack.cpp | 335 utility::report_elapsed_time((oneapi::tbb::tick_count::now() - start).seconds()); in main()
|