/gem5/src/cpu/testers/traffic_gen/ |
H A D | random_gen.cc | 63 (readPercent == 100 || random_mt.random(0, 100) < readPercent); 69 Addr addr = random_mt.random(startAddr, endAddr - 1); 98 Tick wait = random_mt.random(minPeriod, maxPeriod);
|
H A D | stream_gen.cc | 62 return svec[random_mt.random<size_t>(0, svec.size()-1)];
|
H A D | linear_gen.cc | 64 (readPercent == 100 || random_mt.random(0, 100) < readPercent); 104 Tick wait = random_mt.random(minPeriod, maxPeriod);
|
H A D | dram_gen.cc | 97 (readPercent == 100 || random_mt.random(0, 100) < readPercent); 105 random_mt.random<unsigned int>(0, nbrOfBanksUtil - 1); 109 random_mt.random<unsigned int>(0, nbrOfRanks - 1); 157 addr = random_mt.random<Addr>(startAddr, endAddr - 1); 178 random_mt.random<unsigned int>(0, columns_per_page - numSeqPkts);
|
/gem5/src/mem/cache/replacement_policies/ |
H A D | bip_rp.cc | 50 if (random_mt.random<unsigned>(1, 100) <= btp) {
|
H A D | random_rp.cc | 73 ReplaceableEntry* victim = candidates[random_mt.random<unsigned>(0,
|
H A D | brrip_rp.cc | 84 if (random_mt.random<unsigned>(1, 100) <= btp) {
|
/gem5/src/cpu/testers/rubytest/ |
H A D | Check.cc | 50 m_access_mode = RubyAccessMode(random_mt.random(0, 62 if (false && (random_mt.random(0, 0xf) == 0)) { 66 if (m_tester_ptr->getCheckFlush() && (random_mt.random(0, 0xff) == 0)) { 86 int index = random_mt.random(0, m_num_readers - 1); 95 if (random_mt.random(0, 0x7) != 0) { 101 (random_mt.random(0, 0x1)))) { 143 int index = random_mt.random(0, m_num_writers - 1); 172 int index = random_mt.random(0, m_num_writers - 1); 232 int index = random_mt.random(0, m_num_readers - 1); 240 (random_mt [all...] |
H A D | CheckTable.cc | 114 return m_check_vector[random_mt.random<unsigned>(0, m_check_vector.size() - 1)];
|
/gem5/src/base/ |
H A D | random.cc | 100 Random random_mt; variable
|
H A D | random.hh | 111 extern Random random_mt;
|
/gem5/src/cpu/testers/memtest/ |
H A D | memtest.cc | 224 unsigned cmd = random_mt.random(0, 100); 225 uint8_t data = random_mt.random<uint8_t>(); 226 bool uncacheable = random_mt.random(0, 100) < percentUncacheable; 227 unsigned base = random_mt.random(0, 1); 233 unsigned offset = random_mt.random<unsigned>(0, size - 1); 247 bool do_functional = (random_mt.random(0, 100) < percentFunctional) &&
|
/gem5/src/cpu/testers/directedtest/ |
H A D | SeriesRequestGenerator.cc | 66 bool do_write = (random_mt.random(0, 100) < m_percent_writes);
|
/gem5/src/cpu/testers/garnet_synthetic_traffic/ |
H A D | GarnetSyntheticTraffic.cc | 155 unsigned trySending = random_mt.random<unsigned>(0, (int) injRange); 200 destination = random_mt.random<unsigned>(0, num_destinations - 1); 289 injReqType = random_mt.random(0, 2);
|
/gem5/src/cpu/pred/ |
H A D | tage_sc_l.cc | 58 return (random_mt.random<int>() & 7) == 0; 299 if ((taken == pred_taken) && ((random_mt.random<int>() & 31) != 0)) { 308 if ((random_mt.random<int>() & 127) < 32) { 312 (random_mt.random<int>() & 1)); 436 int nrand = random_mt.random<int>() & 3;
|
H A D | tage.cc | 73 int nrand = random_mt.random<int>() & 3;
|
H A D | ltage.cc | 116 int nrand = random_mt.random<int>() & 3;
|
H A D | multiperspective_perceptron_tage.cc | 98 if ((random_mt.random<int>() & 127) < 32) { 181 if ((taken == pred_taken) && ((random_mt.random<int>() & 31) != 0)) { 261 return ((random_mt.random<int>() & 7) == 0); 646 random_mt.random<int>(), corrTarget,
|
H A D | loop_predictor.cc | 242 if ((random_mt.random<int>() & 3) == 0 || !restrictAllocation) { 244 int nrand = random_mt.random<int>();
|
H A D | tage_sc_l_8KB.cc | 211 ((random_mt.random<int>() & 31) == 0); 226 if ((random_mt.random<int>() & 7) == 0) {
|
/gem5/src/mem/ruby/network/ |
H A D | MessageBuffer.cc | 142 time += random_mt.random(0, 3); // [0...3] 143 if (random_mt.random(0, 7) == 0) { // 1 in 8 chance 144 time += 100 + random_mt.random(1, 15); // 100 + [1...15]
|
/gem5/src/dev/net/ |
H A D | dist_etherlink.cc | 199 delay += random_mt.random<Tick>(0, delayVar);
|
/gem5/src/mem/ |
H A D | simple_mem.cc | 233 (latency_var ? random_mt.random<Tick>(0, latency_var) : 0);
|
/gem5/src/learning_gem5/part2/ |
H A D | simple_cache.cc | 374 bucket = random_mt.random(0, (int)cacheStore.bucket_count() - 1); 377 random_mt.random(0, bucket_size - 1));
|
/gem5/src/mem/ruby/network/simple/ |
H A D | PerfectSwitch.cc | 185 random_mt.random(0, 0xff);
|