Searched refs:random_mt (Results 1 - 25 of 33) sorted by relevance

12

/gem5/src/cpu/testers/traffic_gen/
H A Drandom_gen.cc63 (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 Dstream_gen.cc62 return svec[random_mt.random<size_t>(0, svec.size()-1)];
H A Dlinear_gen.cc64 (readPercent == 100 || random_mt.random(0, 100) < readPercent);
104 Tick wait = random_mt.random(minPeriod, maxPeriod);
H A Ddram_gen.cc97 (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 Dbip_rp.cc50 if (random_mt.random<unsigned>(1, 100) <= btp) {
H A Drandom_rp.cc73 ReplaceableEntry* victim = candidates[random_mt.random<unsigned>(0,
H A Dbrrip_rp.cc84 if (random_mt.random<unsigned>(1, 100) <= btp) {
/gem5/src/cpu/testers/rubytest/
H A DCheck.cc50 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 DCheckTable.cc114 return m_check_vector[random_mt.random<unsigned>(0, m_check_vector.size() - 1)];
/gem5/src/base/
H A Drandom.cc100 Random random_mt; variable
H A Drandom.hh111 extern Random random_mt;
/gem5/src/cpu/testers/memtest/
H A Dmemtest.cc224 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 DSeriesRequestGenerator.cc66 bool do_write = (random_mt.random(0, 100) < m_percent_writes);
/gem5/src/cpu/testers/garnet_synthetic_traffic/
H A DGarnetSyntheticTraffic.cc155 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 Dtage_sc_l.cc58 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 Dtage.cc73 int nrand = random_mt.random<int>() & 3;
H A Dltage.cc116 int nrand = random_mt.random<int>() & 3;
H A Dmultiperspective_perceptron_tage.cc98 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 Dloop_predictor.cc242 if ((random_mt.random<int>() & 3) == 0 || !restrictAllocation) {
244 int nrand = random_mt.random<int>();
H A Dtage_sc_l_8KB.cc211 ((random_mt.random<int>() & 31) == 0);
226 if ((random_mt.random<int>() & 7) == 0) {
/gem5/src/mem/ruby/network/
H A DMessageBuffer.cc142 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 Ddist_etherlink.cc199 delay += random_mt.random<Tick>(0, delayVar);
/gem5/src/mem/
H A Dsimple_mem.cc233 (latency_var ? random_mt.random<Tick>(0, latency_var) : 0);
/gem5/src/learning_gem5/part2/
H A Dsimple_cache.cc374 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 DPerfectSwitch.cc185 random_mt.random(0, 0xff);

Completed in 33 milliseconds

12