/gem5/src/kern/freebsd/ |
H A D | events.cc | 55 // Get the time in native size 56 uint64_t time = TheISA::getArgument(tc, arg_num, (uint16_t)-1, false); local 58 //DPRINTFN("DELAY(%d)\n", time); 62 time /= argDivToNs; 64 time *= argMultToNs; 70 // time to 0 with the assumption that quiesce will not happen. To avoid 71 // the quiesce handling in this case, only execute the quiesce if time > 0. 72 if (time > 0) { 73 PseudoInst::quiesceNs(tc, time);
|
/gem5/src/mem/ruby/structures/ |
H A D | LRUPolicy.cc | 51 LRUPolicy::touch(int64_t set, int64_t index, Tick time) argument 56 m_last_ref_ptr[set][index] = time; 62 Tick time, smallest_time; local 67 time = m_last_ref_ptr[set][i]; 69 if (time < smallest_time) { 71 smallest_time = time;
|
H A D | PseudoLRUPolicy.hh | 56 void touch(int64_t set, int64_t way, Tick time);
|
H A D | LRUPolicy.hh | 44 void touch(int64_t set, int64_t way, Tick time);
|
/gem5/src/systemc/tests/systemc/misc/sim_tests/biquad/biquad1/ |
H A D | testbench.cpp | 51 float time; local 61 time = 0.0; 63 sample_val = gen_sample(time); 67 fprintf(data1, "%f\t%f\n", time, sample_val); 68 fprintf(data2, "%f\t%f\n", time, result_val); 72 time += 1.0;
|
/gem5/src/systemc/tests/systemc/misc/sim_tests/biquad/biquad2/ |
H A D | testbench.cpp | 49 float time; local 59 time = 0.0; 61 sample_val = gen_sample(time); 65 fprintf(data1, "%f\t%f\n", time, sample_val); 66 fprintf(data2, "%f\t%f\n", time, result_val); 70 time += 1.0;
|
/gem5/src/systemc/tests/systemc/misc/sim_tests/biquad/biquad3/ |
H A D | testbench.cpp | 51 float time; local 61 time = 0.0; 63 sample_val = gen_sample(time); 67 fprintf(data1, "%f\t%f\n", time, sample_val); 68 fprintf(data2, "%f\t%f\n", time, result_val); 72 time += 1.0;
|
/gem5/src/systemc/tests/systemc/tracing/vcd_trace/test16/ |
H A D | test16.cpp | 22 test15.cpp -- test event/time tracing 61 time = sc_time_stamp(); 71 time = sc_time_stamp(); 78 time = sc_time_stamp(); 82 sc_time time; local 92 sc_trace(tf, m.time, "time");
|
/gem5/src/mem/ruby/network/garnet2.0/ |
H A D | VirtualChannel.cc | 71 VirtualChannel::need_stage(flit_stage stage, Cycles time) argument 73 if (m_input_buffer->isReady(time)) { 74 assert(m_vc_state.first == ACTIVE_ && m_vc_state.second <= time); 76 return(t_flit->is_stage(stage, time));
|
H A D | OutVcState.hh | 56 setState(VC_state_type state, Cycles time) argument 59 m_time = time;
|
H A D | flit.hh | 66 void set_time(Cycles time) { m_time = time; } argument 70 void set_dequeue_time(Cycles time) { m_dequeue_time = time; } argument 76 is_stage(flit_stage stage, Cycles time) argument 79 time >= m_stage.second);
|
/gem5/src/mem/ruby/common/ |
H A D | Consumer.hh | 60 alreadyScheduled(Tick time) argument 62 return m_scheduled_wakeups.find(time) != m_scheduled_wakeups.end(); 66 insertScheduledWakeupTime(Tick time) argument 68 m_scheduled_wakeups.insert(time);
|
/gem5/src/systemc/ext/tlm_core/1/analysis/ |
H A D | write_if.hh | 39 virtual void write(const T &t, const sc_core::sc_time &time) = 0;
|
/gem5/src/mem/ruby/system/ |
H A D | WeightedLRUPolicy.cc | 69 WeightedLRUPolicy::touch(int64_t set, int64_t index, Tick time) argument 74 m_last_ref_ptr[set][index] = time; 78 WeightedLRUPolicy::touch(int64_t set, int64_t index, Tick time, int occupancy) argument 83 m_last_ref_ptr[set][index] = time; 90 Tick time, smallest_time; local 105 time = m_last_ref_ptr[set][i]; 106 if (time < smallest_time) { 108 smallest_time = time;
|
H A D | WeightedLRUPolicy.hh | 52 void touch(int64_t set, int64_t way, Tick time) override; 53 void touch(int64_t set, int64_t way, Tick time, int occupancy);
|
/gem5/src/dev/arm/ |
H A D | timer_a9global.cc | 91 uint64_t time; local 95 time = getTimeCounterFromTicks(curTick()); 96 DPRINTF(Timer, "-- returning lower 32-bits of counter: %u\n", time); 97 pkt->setLE<uint32_t>(time); 100 time = getTimeCounterFromTicks(curTick()); 101 time >>= 32; 102 DPRINTF(Timer, "-- returning upper 32-bits of counter: %u\n", time); 103 pkt->setLE<uint32_t>(time); 115 time = getTimeCounterFromTicks(cmpValEvent.when() - curTick()); 117 time 218 Tick time = parent->clockPeriod() * (control.prescalar + 1) * (cmpVal + 1); local [all...] |
H A D | flash_device.cc | 171 std::vector<Tick> time(numPlanes, 0); 198 time[plane_address] += accessTimes(locationTable[logic_page_addr] 203 stats.readLatency.sample(time[plane_address]); 210 time[plane_address] += accessTimes 214 time[plane_address] += remap(logic_page_addr); 218 stats.writeLatency.sample(time[plane_address]); 243 plane_address = (time[plane_address] > time[count]) ? plane_address 247 time[count]); 249 if (time[coun 365 Tick time = accessTimes(locationTable[logic_page_addr].block, local 374 Tick time = ((GCActivePercentage * local 408 Tick time = 0; local [all...] |
H A D | timer_cpulocal.cc | 115 Tick time; local 125 time = timerZeroEvent.when() - curTick(); 126 time = time / parent->clockPeriod() / 128 DPRINTF(Timer, "-- returning counter at %d\n", time); 129 pkt->setLE<uint32_t>(time); 145 time = watchdogZeroEvent.when() - curTick(); 146 time = time / parent->clockPeriod() / 148 DPRINTF(Timer, "-- returning counter at %d\n", time); [all...] |
/gem5/src/kern/linux/ |
H A D | events.cc | 81 // Get the time in native size 82 uint64_t time = TheISA::getArgument(tc, arg_num, (uint16_t)-1, false); local 86 time /= argDivToNs; 88 time *= argMultToNs; 94 // time to 0 with the assumption that quiesce will not happen. To avoid 95 // the quiesce handling in this case, only execute the quiesce if time > 0. 96 if (time > 0) { 97 PseudoInst::quiesceNs(tc, time);
|
/gem5/ext/pybind11/tests/ |
H A D | test_chrono.py | 7 # Get the time from both c++ and datetime 14 # The numbers should vary by a very small amount (time it took to execute) 30 # Roundtrip the time 46 # Roundtrip the time 49 time2 = datetime2.time() 54 assert isinstance(time2, datetime.time) 67 # There should be no time information 75 time1 = datetime.datetime.today().time() 77 # Roundtrip the time 80 time2 = datetime2.time() [all...] |
/gem5/src/base/ |
H A D | time.cc | 31 #include "base/time.hh" 95 Time::time() const function in class:Time 97 double time = double(*this); local 98 double secs = fmod(time, 60.0); 99 double all_mins = floor(time / 60.0); 143 sleep(const Time &time) argument 145 timespec ts = time; 155 mkutctime(struct tm *time) argument 165 fatal("Failed to reserve memory for UTC time conversion\n"); 169 // change to UTC and get the time [all...] |
/gem5/src/systemc/utils/ |
H A D | tracefile.cc | 37 #include "systemc/core/time.hh" 79 ::sc_core::sc_time time; local 81 // The time scale was never set. Use the global time resolution. 82 time = ::sc_core::sc_get_time_resolution(); 84 time = ::sc_core::sc_time(timeUnitValue, timeUnitUnit); 86 timeUnitTicks = time.value();
|
/gem5/src/dev/x86/ |
H A D | Cmos.py | 38 time = Param.Time('01/01/2012', variable in class:Cmos 39 "System time to use ('Now' for actual time)")
|
/gem5/src/gpu-compute/ |
H A D | local_memory_pipeline.cc | 86 computeUnit->shader->ScheduleAdd(&w->outstandingReqs, m->time, -1); 90 m->time, -1); 95 m->time, -1); 98 // Mark write bus busy for appropriate amount of time 99 computeUnit->locMemToVrfBus.set(m->time); 101 w->computeUnit->wfWait.at(m->pipeId).set(m->time);
|
/gem5/src/dev/ |
H A D | mc146818.cc | 35 #include <sys/time.h> 41 #include "base/time.hh" 67 MC146818::setTime(const struct tm time) argument 69 curTime = time; 70 year = time.tm_year; 72 mon = time.tm_mon + 1; 73 mday = time.tm_mday; 74 hour = time.tm_hour; 75 min = time.tm_min; 76 sec = time 94 MC146818(EventManager *em, const string &n, const struct tm time, bool bcd, Tick frequency) argument [all...] |