Lines Matching refs:rnd
775 …static void RunTwoBodies( utils::FastRandom<>& rnd, const Body &body, Partitioner& p, tbb::task_gr… in RunTwoBodies() argument
776 if ( rnd.get() % 2 ) { in RunTwoBodies()
802 void RunNextLevel( utils::FastRandom<>& rnd, int &isolated_level ) const { in RunNextLevel() argument
804 switch ( rnd.get() % 2 ) { in RunNextLevel()
808 … RunTwoBodies( rnd, HeavyMixTestBody(myRandom, myIsolatedLevel, myNestedLevel + 1), p, &ctx ); in RunNextLevel()
831 utils::FastRandom<>& rnd = myRandom.local(); in operator ()() local
832 if ( rnd.get() % 2 == 1 ) { in operator ()()
833 RunNextLevel<tbb::auto_partitioner>( rnd, isolated_level ); in operator ()()
835 RunNextLevel<tbb::affinity_partitioner>( rnd, isolated_level ); in operator ()()
1153 utils::FastRandom<> rnd(1234); in TestMultipleWaits() local
1156 const int num_bunches = 3 + rnd.get()%3; in TestMultipleWaits()
1157 const int bunch_size = max_threads + rnd.get()%max_threads; in TestMultipleWaits()