| /oneTBB/examples/common/utility/ |
| H A D | fast_random.hpp | 33 class FastRandom { class 48 FastRandom(std::size_t seed) { in FastRandom() function in utility::FastRandom
|
| /oneTBB/examples/concurrent_priority_queue/shortpath/ |
| H A D | shortpath.cpp | 53 point generate_random_point(utility::FastRandom& mr) { in generate_random_point() 61 bool die_toss(std::size_t a, std::size_t b, utility::FastRandom& mr) { in die_toss() 227 utility::FastRandom my_random(r.begin()); in InitializeGraph() 239 utility::FastRandom my_random(r.begin()); in InitializeGraph()
|
| /oneTBB/src/tbb/ |
| H A D | misc.h | 136 class FastRandom { 153 FastRandom( void* unique_ptr ) { init(uintptr_t(unique_ptr)); } in FastRandom() function
|
| H A D | task_stream.h | 81 random_lane_selector( FastRandom& random ) : my_random( random ) {} in random_lane_selector() 87 FastRandom& my_random;
|
| H A D | arena.h | 333 …d1::task* steal_task(unsigned arena_index, FastRandom& frnd, execution_data_ext& ed, isolation_typ… 436 inline d1::task* arena::steal_task(unsigned arena_index, FastRandom& frnd, execution_data_ext& ed, … in steal_task()
|
| H A D | scheduler_common.h | 367 FastRandom m_random; 547 …d1::task* steal_or_get_critical(execution_data_ext&, arena&, unsigned /*arena_index*/, FastRandom&, in alignas()
|
| H A D | thread_data.h | 163 FastRandom my_random;
|
| H A D | task_dispatcher.h | 159 execution_data_ext& ed, arena& a, unsigned arena_index, FastRandom& random, in steal_or_get_critical()
|
| /oneTBB/test/tbb/ |
| H A D | test_task_arena.cpp | 770 tbb::enumerable_thread_specific<utils::FastRandom<>>& myRandom; 775 …static void RunTwoBodies( utils::FastRandom<>& rnd, const Body &body, Partitioner& p, tbb::task_gr… in RunTwoBodies() 802 void RunNextLevel( utils::FastRandom<>& rnd, int &isolated_level ) const { in RunNextLevel() 822 HeavyMixTestBody( tbb::enumerable_thread_specific<utils::FastRandom<>>& random, in HeavyMixTestBody() 831 utils::FastRandom<>& rnd = myRandom.local(); in operator ()() 844 utils::FastRandom<> operator()() { in operator ()() 845 return utils::FastRandom<>( tbb::this_task_arena::current_thread_index() ); in operator ()() 854 tbb::enumerable_thread_specific<utils::FastRandom<>> random( init_random ); in HeavyMixTest() 1153 utils::FastRandom<> rnd(1234); in TestMultipleWaits() 1612 utils::FastRandom<> operation_rnd(42); in StressTestMixFunctionality() [all …]
|
| H A D | test_global_control.cpp | 69 utils::FastRandom<> rnd( ++gSeed ); in operator ()()
|
| H A D | test_concurrent_priority_queue.cpp | 30 utils::FastRandom<> rnd(1234); in test_cpq_with_smart_pointers()
|
| H A D | test_concurrent_queue.cpp | 135 utils::FastRandom<> rnd(42); in CopyWithThrowElement()
|
| H A D | test_environment_whitebox.cpp | 59 utils::FastRandom<> rnd(12345);
|
| H A D | test_concurrent_vector.cpp | 413 utils::FastRandom<> op_rand(42); in TestConcurrentOperationsWithUnSafeOperations() 446 utils::FastRandom<> rand(thread_id); in TestConcurrentOperationsWithUnSafeOperations()
|
| /oneTBB/examples/parallel_reduce/convex_hull/ |
| H A D | convex_hull.hpp | 91 utility::FastRandom my_fast_random;
|
| /oneTBB/test/common/ |
| H A D | utils.h | 141 class FastRandom { 146 explicit FastRandom( uint64_t seed )
|
| /oneTBB/test/conformance/ |
| H A D | conformance_concurrent_priority_queue.cpp | 46 utils::FastRandom<> rnd(1234); in test_basic()
|
| /oneTBB/test/tbbmalloc/ |
| H A D | test_malloc_compliance.cpp | 357 utils::FastRandom<> fastRandom(1); in InvariantDataRealloc()
|